[Python] Fix missing compute.Kind#3717
Merged
Merged
Conversation
Collaborator
|
pietern
approved these changes
Oct 6, 2025
denik
pushed a commit
that referenced
this pull request
May 20, 2026
## Changes Fix missing `compute.Kind`. There is a single documented value that applies a behaviour different from the absent value. Add an enum annotation because it's missing in the OpenAPI spec. ## Why Fixes #3622 ## Tests Looking at the diff for the generated code
pietern
added a commit
that referenced
this pull request
Jun 11, 2026
- names: title() now treats digits as non-separators (strings.Title semantics), so a digit-then-letter name like ai21labs_api_key derives Ai21labsApiKey, matching genkit and the SDK spelling. names_test.go pins the divergent classes (digit-then-letter, uppercase-acronym runs). - model: Resolve() returns an error on duplicate service ids and unresolved parent / subservice / request-body references instead of silently rendering wrong output; the contract test also asserts no two services render to the same file. - schema: drop the manual compute.Kind enum override (workaround from #3717); annotations_openapi.yml now carries the enum itself, so the override produced a duplicated CLASSIC_PREVIEW in jsonschema.json (+ for-docs). - Taskfile: fingerprint generate-annotations (run: once) so `task generate` runs it once instead of three times; drop fingerprinting on the cli.json refresh task (the producer builds from universe HEAD, which no source fingerprint captures) and rename it generate-cli-json -> generate-clijson. - changelog: NEXT_CHANGELOG.md entry for the DEVELOPMENT-stage enum/model removals from the released databricks-bundles package. - comments/docs: document the clusters/events template special-cases, the LRO IsEmptyResponse fold, the intentional 0644 file mode, and .gitattributes ownership in generate-clijson; refresh stale generate-genkit references (AGENTS.md, agent rules, task descs, .gitignore) and the stale stored-casing claims in the names.go/model.go headers. cmd/**, .gitattributes and the schema artifacts regenerate byte-identically apart from the intended CLASSIC_PREVIEW dedupe. Co-authored-by: Isaac
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
Fix missing
compute.Kind. There is a single documented value that applies a behaviour different from the absent value.Add an enum annotation because it's missing in the OpenAPI spec.
Why
Fixes #3622
Tests
Looking at the diff for the generated code