Skip to content

Commit

Permalink
[Internal] Update SDK to latest OpenAPI spec (#766)
Browse files Browse the repository at this point in the history
## 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
  • Loading branch information
tanmay-db authored Sep 25, 2024
1 parent 61a41fc commit fbed6b9
Show file tree
Hide file tree
Showing 14 changed files with 1,676 additions and 862 deletions.
1 change: 1 addition & 0 deletions .codegen/__init__.py.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ from databricks.sdk.mixins.workspace import WorkspaceExt
from databricks.sdk.service.{{.Package.Name}} import {{.PascalName}}API{{end}}
from databricks.sdk.service.provisioning import Workspace
from databricks.sdk import azure
from typing import Optional

{{$args := list "host" "account_id" "username" "password" "client_id" "client_secret"
"token" "profile" "config_file" "azure_workspace_resource_id" "azure_client_secret"
Expand Down
2 changes: 1 addition & 1 deletion .codegen/_openapi_sha
Original file line number Diff line number Diff line change
@@ -1 +1 @@
d05898328669a3f8ab0c2ecee37db2673d3ea3f7
248f4ad9668661da9d0bf4a7b0119a2d44fd1e75
275 changes: 0 additions & 275 deletions .gitattributes

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions databricks/sdk/__init__.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit fbed6b9

Please sign in to comment.