Skip to content
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

Merged
merged 2 commits into from
Mar 20, 2025

Conversation

kanterov
Copy link
Collaborator

Changes

Update generated code with the latest schema

@@ -277,6 +297,7 @@ class JobDict(TypedDict, total=False):
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.
Copy link
Collaborator Author

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.

@@ -14,14 +14,14 @@
class DbtTask:
""""""

commands: VariableOrList[str]
Copy link
Collaborator Author

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

@kanterov kanterov marked this pull request as ready for review March 17, 2025 14:55
@kanterov kanterov mentioned this pull request Mar 17, 2025
@kanterov kanterov requested a review from anton-107 as a code owner March 20, 2025 14:07
Copy link

An authorized user can trigger integration tests manually by following the instructions below:

Trigger:
go/deco-tests-run/cli

Inputs:

  • PR number: 2508
  • Commit SHA: da640e689b3eb8037901a973f0026809d3f37d9f

Checks will be approved automatically on success.

@kanterov kanterov enabled auto-merge March 20, 2025 14:39
@kanterov kanterov added this pull request to the merge queue Mar 20, 2025
Merged via the queue into databricks:main with commit 3d17ab7 Mar 20, 2025
15 checks passed
@kanterov kanterov deleted the kanterov/update-python-models branch March 20, 2025 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants