Skip to content

Commit fbed6b9

Browse files
authored
[Internal] Update SDK to latest OpenAPI spec (#766)
## Changes <!-- Summary of your changes that are easy to understand --> Updating SDK to latest OpenAPI spec + fix generation (need to import `Optional`) Note: `test_github_oidc_flow_works_with_azure` fails on genkit generate-sdk py but passes when run separately right after generation without any change. This seems to be non blocker so going ahead with SDK generation. ## Tests <!-- How is this tested? Please see the checklist below and also describe any other relevant tests --> Unit tests. Nightly tests will run over release PR. - [ ] `make test` run locally - [ ] `make fmt` applied - [ ] relevant integration tests applied
1 parent 61a41fc commit fbed6b9

File tree

14 files changed

+1676
-862
lines changed

14 files changed

+1676
-862
lines changed

.codegen/__init__.py.tmpl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ from databricks.sdk.mixins.workspace import WorkspaceExt
99
from databricks.sdk.service.{{.Package.Name}} import {{.PascalName}}API{{end}}
1010
from databricks.sdk.service.provisioning import Workspace
1111
from databricks.sdk import azure
12+
from typing import Optional
1213

1314
{{$args := list "host" "account_id" "username" "password" "client_id" "client_secret"
1415
"token" "profile" "config_file" "azure_workspace_resource_id" "azure_client_secret"

.codegen/_openapi_sha

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
d05898328669a3f8ab0c2ecee37db2673d3ea3f7
1+
248f4ad9668661da9d0bf4a7b0119a2d44fd1e75

.gitattributes

Lines changed: 0 additions & 275 deletions
Large diffs are not rendered by default.

databricks/sdk/__init__.py

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)