-
Notifications
You must be signed in to change notification settings - Fork 130
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
Release v0.9.0 #356
Merged
Merged
Release v0.9.0 #356
Conversation
This file contains 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
* Don't try to import runtime_auth when not in runtime ([#327](#327)). * [DECO-2485] Handle Azure authentication when WorkspaceResourceID is provided ([#328](#328)). * Add ErrorInfo to API errors ([#347](#347)). * Fix eager default argument evaluation in `DatabricksError` ([#353](#353)). * Fixed code generation of primitive types ([#354](#354)). * Updated SDK to changes in OpenAPI specification ([#355](#355)). API Changes: * Changed `list()` method for [a.account_metastore_assignments](https://databricks-sdk-py.readthedocs.io/en/latest/account/account_metastore_assignments.html) account-level service to return `databricks.sdk.service.catalog.WorkspaceIdList` dataclass. * Changed `artifact_matchers` field for `databricks.sdk.service.catalog.ArtifactAllowlistInfo` to `databricks.sdk.service.catalog.ArtifactMatcherList` dataclass. * Changed `artifact_matchers` field for `databricks.sdk.service.catalog.SetArtifactAllowlist` to `databricks.sdk.service.catalog.ArtifactMatcherList` dataclass. * Added `databricks.sdk.service.catalog.WorkspaceId` dataclass. * Changed `cancel_all_runs()` method for [w.jobs](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/jobs.html) workspace-level service with new required argument order. * Changed `job_id` field for `databricks.sdk.service.jobs.CancelAllRuns` to no longer be required. * Added `all_queued_runs` field for `databricks.sdk.service.jobs.CancelAllRuns`. * Added `queue` field for `databricks.sdk.service.jobs.CreateJob`. * Added `queue` field for `databricks.sdk.service.jobs.JobSettings`. * Added `queue` field for `databricks.sdk.service.jobs.RunNow`. * Added `queue_reason` field for `databricks.sdk.service.jobs.RunState`. * Added `queue_duration` field for `databricks.sdk.service.jobs.RunTask`. * Added `queue` field for `databricks.sdk.service.jobs.SubmitRun`. * Added `databricks.sdk.service.jobs.QueueSettings` dataclass. * Added [a.o_auth_published_apps](https://databricks-sdk-py.readthedocs.io/en/latest/account/o_auth_published_apps.html) account-level service. * Added `databricks.sdk.service.oauth2.GetPublishedAppsOutput` dataclass. * Added `databricks.sdk.service.oauth2.ListOAuthPublishedAppsRequest` dataclass. * Added `databricks.sdk.service.oauth2.PublishedAppOutput` dataclass. * Added `patch()` method for [w.serving_endpoints](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/serving_endpoints.html) workspace-level service. * Added `tags` field for `databricks.sdk.service.serving.CreateServingEndpoint`. * Added `tags` field for `databricks.sdk.service.serving.ServingEndpoint`. * Added `tags` field for `databricks.sdk.service.serving.ServingEndpointDetailed`. * Added `databricks.sdk.service.serving.EndpointTag` dataclass. * Added `databricks.sdk.service.serving.PatchServingEndpointTags` dataclass. * Added [w.credentials_manager](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/credentials_manager.html) workspace-level service. * Added `databricks.sdk.service.settings.ExchangeToken` dataclass. * Added `databricks.sdk.service.settings.ExchangeTokenRequest` dataclass. * Added `databricks.sdk.service.settings.ExchangeTokenResponse` dataclass. * Added `databricks.sdk.service.settings.PartitionId` dataclass. * Added `databricks.sdk.service.settings.TokenType` dataclass. * Changed `execute_statement()` method for [w.statement_execution](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/statement_execution.html) workspace-level service with new required argument order. * Added `empty_result_state` field for `databricks.sdk.service.sql.AlertOptions`. * Removed `databricks.sdk.service.sql.ChunkInfo` dataclass. * Changed `on_wait_timeout` field for `databricks.sdk.service.sql.ExecuteStatementRequest` to `databricks.sdk.service.sql.ExecuteStatementRequestOnWaitTimeout` dataclass. * Changed `statement` field for `databricks.sdk.service.sql.ExecuteStatementRequest` to be required. * Changed `warehouse_id` field for `databricks.sdk.service.sql.ExecuteStatementRequest` to be required. * Changed `chunks` field for `databricks.sdk.service.sql.ResultManifest` to `databricks.sdk.service.sql.BaseChunkInfoList` dataclass. * Added `truncated` field for `databricks.sdk.service.sql.ResultManifest`. * Removed `databricks.sdk.service.sql.TimeoutAction` dataclass. * Added `databricks.sdk.service.sql.AlertOptionsEmptyResultState` dataclass. * Added `databricks.sdk.service.sql.BaseChunkInfo` dataclass. * Added `databricks.sdk.service.sql.ExecuteStatementRequestOnWaitTimeout` dataclass. OpenAPI SHA: b52a3b410976501f08f76ca0b355fb2dca876953, Date: 2023-09-15
Codecov ReportPatch coverage is
📢 Thoughts on this report? Let us know!. |
mgyucht
approved these changes
Sep 20, 2023
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.
Approval but with one nit on the docs.
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.
DatabricksError
(#353).API Changes:
list()
method for a.account_metastore_assignments account-level service to returndatabricks.sdk.service.catalog.WorkspaceIdList
dataclass.artifact_matchers
field fordatabricks.sdk.service.catalog.ArtifactAllowlistInfo
todatabricks.sdk.service.catalog.ArtifactMatcherList
dataclass.artifact_matchers
field fordatabricks.sdk.service.catalog.SetArtifactAllowlist
todatabricks.sdk.service.catalog.ArtifactMatcherList
dataclass.databricks.sdk.service.catalog.WorkspaceId
dataclass.cancel_all_runs()
method for w.jobs workspace-level service with new required argument order.job_id
field fordatabricks.sdk.service.jobs.CancelAllRuns
to no longer be required.all_queued_runs
field fordatabricks.sdk.service.jobs.CancelAllRuns
.queue
field fordatabricks.sdk.service.jobs.CreateJob
.queue
field fordatabricks.sdk.service.jobs.JobSettings
.queue
field fordatabricks.sdk.service.jobs.RunNow
.queue_reason
field fordatabricks.sdk.service.jobs.RunState
.queue_duration
field fordatabricks.sdk.service.jobs.RunTask
.queue
field fordatabricks.sdk.service.jobs.SubmitRun
.databricks.sdk.service.jobs.QueueSettings
dataclass.databricks.sdk.service.oauth2.GetPublishedAppsOutput
dataclass.databricks.sdk.service.oauth2.ListOAuthPublishedAppsRequest
dataclass.databricks.sdk.service.oauth2.PublishedAppOutput
dataclass.patch()
method for w.serving_endpoints workspace-level service.tags
field fordatabricks.sdk.service.serving.CreateServingEndpoint
.tags
field fordatabricks.sdk.service.serving.ServingEndpoint
.tags
field fordatabricks.sdk.service.serving.ServingEndpointDetailed
.databricks.sdk.service.serving.EndpointTag
dataclass.databricks.sdk.service.serving.PatchServingEndpointTags
dataclass.databricks.sdk.service.settings.ExchangeToken
dataclass.databricks.sdk.service.settings.ExchangeTokenRequest
dataclass.databricks.sdk.service.settings.ExchangeTokenResponse
dataclass.databricks.sdk.service.settings.PartitionId
dataclass.databricks.sdk.service.settings.TokenType
dataclass.execute_statement()
method for w.statement_execution workspace-level service with new required argument order.empty_result_state
field fordatabricks.sdk.service.sql.AlertOptions
.databricks.sdk.service.sql.ChunkInfo
dataclass.on_wait_timeout
field fordatabricks.sdk.service.sql.ExecuteStatementRequest
todatabricks.sdk.service.sql.ExecuteStatementRequestOnWaitTimeout
dataclass.statement
field fordatabricks.sdk.service.sql.ExecuteStatementRequest
to be required.warehouse_id
field fordatabricks.sdk.service.sql.ExecuteStatementRequest
to be required.chunks
field fordatabricks.sdk.service.sql.ResultManifest
todatabricks.sdk.service.sql.BaseChunkInfoList
dataclass.truncated
field fordatabricks.sdk.service.sql.ResultManifest
.databricks.sdk.service.sql.TimeoutAction
dataclass.databricks.sdk.service.sql.AlertOptionsEmptyResultState
dataclass.databricks.sdk.service.sql.BaseChunkInfo
dataclass.databricks.sdk.service.sql.ExecuteStatementRequestOnWaitTimeout
dataclass.OpenAPI SHA: b52a3b410976501f08f76ca0b355fb2dca876953, Date: 2023-09-15