-
Notifications
You must be signed in to change notification settings - Fork 122
[Python] Update generated code #2508
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Python] Update generated code #2508
Conversation
| 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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a problem with bundle schema, we should annotate API-only descriptions and strip them.
| class DbtTask: | ||
| """""" | ||
|
|
||
| commands: VariableOrList[str] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Field order has changed because "commands" is not required anymore
|
An authorized user can trigger integration tests manually by following the instructions below: Trigger: Inputs:
Checks will be approved automatically on success. |
## 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
Changes
Update generated code with the latest schema