[Python] Update generated code#2508
Merged
kanterov merged 2 commits intodatabricks:mainfrom Mar 20, 2025
Merged
Conversation
kanterov
commented
Mar 17, 2025
| tasks: VariableOrList[TaskParam] | ||
| """ | ||
| A list of task specifications to be executed by this job. | ||
| If more than 100 tasks are available, you can paginate through them using :method:jobs/get. Use the `next_page_token` field at the object root to determine if more results are available. |
Collaborator
Author
There was a problem hiding this comment.
This is a problem with bundle schema, we should annotate API-only descriptions and strip them.
kanterov
commented
Mar 17, 2025
| class DbtTask: | ||
| """""" | ||
|
|
||
| commands: VariableOrList[str] |
Collaborator
Author
There was a problem hiding this comment.
Field order has changed because "commands" is not required anymore
Merged
pietern
approved these changes
Mar 20, 2025
|
An authorized user can trigger integration tests manually by following the instructions below: Trigger: Inputs:
Checks will be approved automatically on success. |
github-merge-queue bot
pushed a commit
that referenced
this pull request
Apr 15, 2025
## Changes Add the code generator from the bundle schema to the Python code. Currently, it's only enabled for the "jobs" package. There is a new GitHub action to verify that codegen is always up-to-date whenever we update bundle schema. Depends on #2508 ## Tests - A few unit tests - Primarily tested by diffing output
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
Update generated code with the latest schema