- Added a.account_federation_policy account-level service and a.service_principal_federation_policy account-level service.
- Added
is_single_node
,kind
anduse_ml_runtime
fields fordatabricks.sdk.service.compute.ClusterAttributes
. - Added
is_single_node
,kind
anduse_ml_runtime
fields fordatabricks.sdk.service.compute.ClusterDetails
. - Added
is_single_node
,kind
anduse_ml_runtime
fields fordatabricks.sdk.service.compute.ClusterSpec
. - Added
is_single_node
,kind
anduse_ml_runtime
fields fordatabricks.sdk.service.compute.CreateCluster
. - Added
is_single_node
,kind
anduse_ml_runtime
fields fordatabricks.sdk.service.compute.EditCluster
. - Added
is_single_node
,kind
anduse_ml_runtime
fields fordatabricks.sdk.service.compute.UpdateClusterResource
. - Added
update_parameter_syntax
field fordatabricks.sdk.service.dashboards.MigrateDashboardRequest
. - Added
clean_rooms_notebook_task
field fordatabricks.sdk.service.jobs.RunTask
. - Added
clean_rooms_notebook_task
field fordatabricks.sdk.service.jobs.SubmitTask
. - Added
clean_rooms_notebook_task
field fordatabricks.sdk.service.jobs.Task
. - Changed
days_of_week
field fordatabricks.sdk.service.pipelines.RestartWindow
to typedatabricks.sdk.service.pipelines.RestartWindowDaysOfWeekList
dataclass.
OpenAPI SHA: a6a317df8327c9b1e5cb59a03a42ffa2aabeef6d, Date: 2024-12-16
- Update Changelog file (#830).
- Added
databricks.sdk.service.cleanrooms
package. - Added
delete()
method for w.aibi_dashboard_embedding_access_policy workspace-level service. - Added
delete()
method for w.aibi_dashboard_embedding_approved_domains workspace-level service. - Added
databricks_gcp_service_account
field fordatabricks.sdk.service.catalog.CreateCredentialRequest
. - Added
databricks_gcp_service_account
field fordatabricks.sdk.service.catalog.CredentialInfo
. - Added
gcp_options
field fordatabricks.sdk.service.catalog.GenerateTemporaryServiceCredentialRequest
. - Added
databricks_gcp_service_account
field fordatabricks.sdk.service.catalog.UpdateCredentialRequest
. - Added
cached_query_schema
field fordatabricks.sdk.service.dashboards.QueryAttachment
. - Added .
- Removed
gcp_service_account_key
field fordatabricks.sdk.service.catalog.CreateCredentialRequest
.
OpenAPI SHA: 7016dcbf2e011459416cf408ce21143bcc4b3a25, Date: 2024-12-05
- Read streams by 1MB chunks by default. (#817).
- Rewind seekable streams before retrying (#821).
- Properly serialize nested data classes.
- Reformat SDK with YAPF 0.43. (#822).
- Update Jobs GetRun API to support paginated responses for jobs and ForEach tasks (#819).
- Added
service_principal_client_id
field fordatabricks.sdk.service.apps.App
. - Added
azure_service_principal
,gcp_service_account_key
andread_only
fields fordatabricks.sdk.service.catalog.CreateCredentialRequest
. - Added
azure_service_principal
,read_only
andused_for_managed_storage
fields fordatabricks.sdk.service.catalog.CredentialInfo
. - Added
omit_username
field fordatabricks.sdk.service.catalog.ListTablesRequest
. - Added
azure_service_principal
andread_only
fields fordatabricks.sdk.service.catalog.UpdateCredentialRequest
. - Added
external_location_name
,read_only
andurl
fields fordatabricks.sdk.service.catalog.ValidateCredentialRequest
. - Added
is_dir
field fordatabricks.sdk.service.catalog.ValidateCredentialResponse
. - Added
only
field fordatabricks.sdk.service.jobs.RunNow
. - Added
restart_window
field fordatabricks.sdk.service.pipelines.CreatePipeline
. - Added
restart_window
field fordatabricks.sdk.service.pipelines.EditPipeline
. - Added
restart_window
field fordatabricks.sdk.service.pipelines.PipelineSpec
. - Added
private_access_settings_id
field fordatabricks.sdk.service.provisioning.UpdateWorkspaceRequest
. - Changed
create_credential()
andgenerate_temporary_service_credential()
methods for w.credentials workspace-level service with new required argument order. - Changed
access_connector_id
field fordatabricks.sdk.service.catalog.AzureManagedIdentity
to be required. - Changed
access_connector_id
field fordatabricks.sdk.service.catalog.AzureManagedIdentity
to be required. - Changed
name
field fordatabricks.sdk.service.catalog.CreateCredentialRequest
to be required. - Changed
credential_name
field fordatabricks.sdk.service.catalog.GenerateTemporaryServiceCredentialRequest
to be required.
OpenAPI SHA: f2385add116e3716c8a90a0b68e204deb40f996c, Date: 2024-11-15
- Correctly generate classes with nested body fields (#808).
- Add
cleanrooms
package (#806). - Add test instructions for external contributors (#804).
- Always write message for manual test execution (#811).
- Automatically trigger integration tests on PR (#800).
- Better isolate ML serving auth unit tests (#803).
- Move templates in the code generator (#809).
- Added w.aibi_dashboard_embedding_access_policy workspace-level service and w.aibi_dashboard_embedding_approved_domains workspace-level service.
- Added w.credentials workspace-level service.
- Added
app_deployment
field fordatabricks.sdk.service.apps.CreateAppDeploymentRequest
. - Added
app
field fordatabricks.sdk.service.apps.CreateAppRequest
. - Added
app
field fordatabricks.sdk.service.apps.UpdateAppRequest
. - Added
table
field fordatabricks.sdk.service.catalog.CreateOnlineTableRequest
. - Added
azure_aad
field fordatabricks.sdk.service.catalog.GenerateTemporaryTableCredentialResponse
. - Added
full_name
field fordatabricks.sdk.service.catalog.StorageCredentialInfo
. - Added
dashboard
field fordatabricks.sdk.service.dashboards.CreateDashboardRequest
. - Added
schedule
field fordatabricks.sdk.service.dashboards.CreateScheduleRequest
. - Added
subscription
field fordatabricks.sdk.service.dashboards.CreateSubscriptionRequest
. - Added
warehouse_id
field fordatabricks.sdk.service.dashboards.Schedule
. - Added
dashboard
field fordatabricks.sdk.service.dashboards.UpdateDashboardRequest
. - Added
schedule
field fordatabricks.sdk.service.dashboards.UpdateScheduleRequest
. - Added
page_token
field fordatabricks.sdk.service.oauth2.ListServicePrincipalSecretsRequest
. - Added
next_page_token
field fordatabricks.sdk.service.oauth2.ListServicePrincipalSecretsResponse
. - Added
connection_name
field fordatabricks.sdk.service.pipelines.IngestionGatewayPipelineDefinition
. - Added
is_no_public_ip_enabled
field fordatabricks.sdk.service.provisioning.CreateWorkspaceRequest
. - Added
external_customer_info
andis_no_public_ip_enabled
fields fordatabricks.sdk.service.provisioning.Workspace
. - Added
last_used_day
field fordatabricks.sdk.service.settings.TokenInfo
. - Changed
create()
method for w.apps workspace-level service with new required argument order. - Changed
execute_message_query()
method for w.genie workspace-level service . New request type isdatabricks.sdk.service.dashboards.GenieExecuteMessageQueryRequest
dataclass. - Changed
execute_message_query()
method for w.genie workspace-level service to typeexecute_message_query()
method for w.genie workspace-level service. - Changed
create()
,create_schedule()
,create_subscription()
andupdate_schedule()
methods for w.lakeview workspace-level service with new required argument order. - Removed w.clean_rooms workspace-level service.
- Removed
deployment_id
,mode
andsource_code_path
fields fordatabricks.sdk.service.apps.CreateAppDeploymentRequest
. - Removed
description
,name
andresources
fields fordatabricks.sdk.service.apps.CreateAppRequest
. - Removed
description
andresources
fields fordatabricks.sdk.service.apps.UpdateAppRequest
. - Removed
name
andspec
fields fordatabricks.sdk.service.catalog.CreateOnlineTableRequest
. - Removed
display_name
,parent_path
,serialized_dashboard
andwarehouse_id
fields fordatabricks.sdk.service.dashboards.CreateDashboardRequest
. - Removed
cron_schedule
,display_name
andpause_status
fields fordatabricks.sdk.service.dashboards.CreateScheduleRequest
. - Removed
subscriber
field fordatabricks.sdk.service.dashboards.CreateSubscriptionRequest
. - Removed
display_name
,etag
,serialized_dashboard
andwarehouse_id
fields fordatabricks.sdk.service.dashboards.UpdateDashboardRequest
. - Removed
cron_schedule
,display_name
,etag
andpause_status
fields fordatabricks.sdk.service.dashboards.UpdateScheduleRequest
. - Removed
prev_page_token
field fordatabricks.sdk.service.jobs.Run
.
OpenAPI SHA: 5285ce76f81314f342c1702d5c2ad4ef42488781, Date: 2024-11-04
external_browser
now uses thedatabricks-cli
app instead of the third-party "6128a518-99a9-425b-8333-4cc94f04cacd" application when performing the U2M login flow for Azure workspaces when a client ID is not otherwise specified. This matches the AWS behavior.- The signatures of several OAuth-related constructors have changed to support U2M OAuth with Azure Entra ID application registrations. See https://github.com/databricks/databricks-sdk-py/blob/main/examples/flask_app_with_oauth.py for examples of how to use these classes.
OAuthClient()
: renamed toOAuthClient.from_host()
SessionCredentials()
andSessionCredentials.from_dict()
: now acceptstoken_endpoint
,client_id
,client_secret
, andrefresh_url
as parameters, rather than accepting theOAuthClient
.TokenCache()
: now acceptshost
,token_endpoint
,client_id
,client_secret
, andrefresh_url
as parameters, rather than accepting theOAuthClient
.
- Decouple OAuth functionality from
Config
(#784).
- Release v0.35.0 (#793).
- Open AI Client Mixin (#779).
- Update Serving Endpoint mixing template and docs generation logic (#792).
- Added
databricks.sdk.service.pipelines.ReportSpec
dataclass. - Added
unity_catalog_provisioning_state
field fordatabricks.sdk.service.catalog.OnlineTable
. - Added
is_truncated
field fordatabricks.sdk.service.dashboards.Result
. - Added
effective_budget_policy_id
field fordatabricks.sdk.service.jobs.BaseJob
. - Added
budget_policy_id
field fordatabricks.sdk.service.jobs.CreateJob
. - Added
effective_budget_policy_id
field fordatabricks.sdk.service.jobs.Job
. - Added
budget_policy_id
field fordatabricks.sdk.service.jobs.JobSettings
. - Added
budget_policy_id
field fordatabricks.sdk.service.jobs.SubmitRun
. - Added
report
field fordatabricks.sdk.service.pipelines.IngestionConfig
. - Added
sequence_by
field fordatabricks.sdk.service.pipelines.TableSpecificConfig
. - Added
notify_on_ok
field fordatabricks.sdk.service.sql.Alert
. - Added
notify_on_ok
field fordatabricks.sdk.service.sql.CreateAlertRequestAlert
. - Added
notify_on_ok
field fordatabricks.sdk.service.sql.ListAlertsResponseAlert
. - Added
notify_on_ok
field fordatabricks.sdk.service.sql.UpdateAlertRequestAlert
.
OpenAPI SHA: cf9c61453990df0f9453670f2fe68e1b128647a2, Date: 2024-10-14
- Fix Model Serving Test (#781).
- Include package name for external types when deserializing responses (#786).
- Refactor ApiClient into
_BaseClient
andApiClient
(#785). - Update to latest OpenAPI spec (#787).
- revert Support Models in
dbutils.fs
operations (#750) (#778).
- Added w.disable_legacy_dbfs workspace-level service.
- Added
default_source_code_path
andresources
fields fordatabricks.sdk.service.apps.App
. - Added
resources
field fordatabricks.sdk.service.apps.CreateAppRequest
. - Added
resources
field fordatabricks.sdk.service.apps.UpdateAppRequest
.
OpenAPI SHA: bc17b474818138f19b78a7bea0675707dead2b87, Date: 2024-10-07
- Added w.disable_legacy_access workspace-level service and a.disable_legacy_features account-level service.
- Added w.temporary_table_credentials workspace-level service.
- Added
put_ai_gateway()
method for w.serving_endpoints workspace-level service. - Added
databricks.sdk.service.apps.ApplicationState
,databricks.sdk.service.apps.ApplicationStatus
,databricks.sdk.service.apps.ComputeState
anddatabricks.sdk.service.apps.ComputeStatus
dataclasses. - Added
databricks.sdk.service.catalog.AwsCredentials
,databricks.sdk.service.catalog.AzureUserDelegationSas
,databricks.sdk.service.catalog.GcpOauthToken
,databricks.sdk.service.catalog.GenerateTemporaryTableCredentialRequest
,databricks.sdk.service.catalog.GenerateTemporaryTableCredentialResponse
,databricks.sdk.service.catalog.R2Credentials
anddatabricks.sdk.service.catalog.TableOperation
dataclasses. - Added
databricks.sdk.service.serving.AiGatewayConfig
,databricks.sdk.service.serving.AiGatewayGuardrailParameters
,databricks.sdk.service.serving.AiGatewayGuardrailPiiBehavior
,databricks.sdk.service.serving.AiGatewayGuardrailPiiBehaviorBehavior
,databricks.sdk.service.serving.AiGatewayGuardrails
,databricks.sdk.service.serving.AiGatewayInferenceTableConfig
,databricks.sdk.service.serving.AiGatewayRateLimit
,databricks.sdk.service.serving.AiGatewayRateLimitKey
,databricks.sdk.service.serving.AiGatewayRateLimitRenewalPeriod
,databricks.sdk.service.serving.AiGatewayUsageTrackingConfig
,databricks.sdk.service.serving.PutAiGatewayRequest
anddatabricks.sdk.service.serving.PutAiGatewayResponse
dataclasses. - Added
databricks.sdk.service.settings.BooleanMessage
,databricks.sdk.service.settings.DeleteDisableLegacyAccessRequest
,databricks.sdk.service.settings.DeleteDisableLegacyAccessResponse
,databricks.sdk.service.settings.DeleteDisableLegacyFeaturesRequest
,databricks.sdk.service.settings.DeleteDisableLegacyFeaturesResponse
,databricks.sdk.service.settings.DisableLegacyAccess
,databricks.sdk.service.settings.DisableLegacyFeatures
,databricks.sdk.service.settings.GetDisableLegacyAccessRequest
,databricks.sdk.service.settings.GetDisableLegacyFeaturesRequest
,databricks.sdk.service.settings.UpdateDisableLegacyAccessRequest
anddatabricks.sdk.service.settings.UpdateDisableLegacyFeaturesRequest
dataclasses. - Added
databricks.sdk.service.workspace.CreateCredentialsRequest
,databricks.sdk.service.workspace.CreateRepoRequest
,databricks.sdk.service.workspace.CreateRepoResponse
,databricks.sdk.service.workspace.DeleteCredentialsRequest
,any
,any
,databricks.sdk.service.workspace.GetCredentialsRequest
,databricks.sdk.service.workspace.GetRepoResponse
,databricks.sdk.service.workspace.ListCredentialsResponse
,databricks.sdk.service.workspace.UpdateCredentialsRequest
,any
,databricks.sdk.service.workspace.UpdateRepoRequest
andany
dataclasses. - Added
app_status
andcompute_status
fields fordatabricks.sdk.service.apps.App
. - Added
deployment_id
field fordatabricks.sdk.service.apps.CreateAppDeploymentRequest
. - Added
external_access_enabled
field fordatabricks.sdk.service.catalog.GetMetastoreSummaryResponse
. - Added
include_manifest_capabilities
field fordatabricks.sdk.service.catalog.GetTableRequest
. - Added
include_manifest_capabilities
field fordatabricks.sdk.service.catalog.ListSummariesRequest
. - Added
include_manifest_capabilities
field fordatabricks.sdk.service.catalog.ListTablesRequest
. - Added
external_access_enabled
field fordatabricks.sdk.service.catalog.MetastoreInfo
. - Added
budget_policy_id
andschema
fields fordatabricks.sdk.service.pipelines.CreatePipeline
. - Added
budget_policy_id
andschema
fields fordatabricks.sdk.service.pipelines.EditPipeline
. - Added
effective_budget_policy_id
field fordatabricks.sdk.service.pipelines.GetPipelineResponse
. - Added
budget_policy_id
andschema
fields fordatabricks.sdk.service.pipelines.PipelineSpec
. - Added
ai_gateway
field fordatabricks.sdk.service.serving.CreateServingEndpoint
. - Added
ai_gateway
field fordatabricks.sdk.service.serving.ServingEndpoint
. - Added
ai_gateway
field fordatabricks.sdk.service.serving.ServingEndpointDetailed
. - Added
workspace_id
field fordatabricks.sdk.service.settings.TokenInfo
. - Added
credential_id
,git_provider
andgit_username
fields fordatabricks.sdk.service.workspace.GetCredentialsResponse
. - Changed
delete()
,start()
andstop()
methods for w.apps workspace-level service to returndatabricks.sdk.service.apps.App
dataclass. - Changed
deploy()
method for w.apps workspace-level service with new required argument order. - Changed
create()
method for w.git_credentials workspace-level service . New request type isdatabricks.sdk.service.workspace.CreateCredentialsRequest
dataclass. - Changed
delete()
method for w.git_credentials workspace-level service . New request type isdatabricks.sdk.service.workspace.DeleteCredentialsRequest
dataclass. - Changed
delete()
method for w.git_credentials workspace-level service to returnany
dataclass. - Changed
get()
method for w.git_credentials workspace-level service . New request type isdatabricks.sdk.service.workspace.GetCredentialsRequest
dataclass. - Changed
get()
method for w.git_credentials workspace-level service to returndatabricks.sdk.service.workspace.GetCredentialsResponse
dataclass. - Changed
list()
method for w.git_credentials workspace-level service to returndatabricks.sdk.service.workspace.ListCredentialsResponse
dataclass. - Changed
update()
method for w.git_credentials workspace-level service . New request type isdatabricks.sdk.service.workspace.UpdateCredentialsRequest
dataclass. - Changed
update()
method for w.git_credentials workspace-level service to returnany
dataclass. - Changed
create()
method for w.repos workspace-level service to returndatabricks.sdk.service.workspace.CreateRepoResponse
dataclass. - Changed
create()
method for w.repos workspace-level service . New request type isdatabricks.sdk.service.workspace.CreateRepoRequest
dataclass. - Changed
delete()
method for w.repos workspace-level service to returnany
dataclass. - Changed
get()
method for w.repos workspace-level service to returndatabricks.sdk.service.workspace.GetRepoResponse
dataclass. - Changed
update()
method for w.repos workspace-level service to returnany
dataclass. - Changed
update()
method for w.repos workspace-level service . New request type isdatabricks.sdk.service.workspace.UpdateRepoRequest
dataclass. - Changed
source_code_path
field fordatabricks.sdk.service.apps.AppDeployment
to no longer be required. - Changed
source_code_path
field fordatabricks.sdk.service.apps.CreateAppDeploymentRequest
to no longer be required. - Changed
return_params
androutine_dependencies
fields fordatabricks.sdk.service.catalog.CreateFunction
to no longer be required. - Changed
credential_id
andgit_provider
fields fordatabricks.sdk.service.workspace.CreateCredentialsResponse
to be required. - Changed
credential_id
field fordatabricks.sdk.service.workspace.CredentialInfo
to be required. - Changed
patterns
field fordatabricks.sdk.service.workspace.SparseCheckout
todatabricks.sdk.service.workspace.List
dataclass. - Changed
patterns
field fordatabricks.sdk.service.workspace.SparseCheckoutUpdate
todatabricks.sdk.service.workspace.List
dataclass. - Removed
databricks.sdk.service.apps.AppState
,databricks.sdk.service.apps.AppStatus
,any
andany
dataclasses. - Removed
databricks.sdk.service.sql.ClientCallContext
,databricks.sdk.service.sql.EncodedText
,databricks.sdk.service.sql.EncodedTextEncoding
,databricks.sdk.service.sql.QuerySource
,databricks.sdk.service.sql.QuerySourceDriverInfo
,databricks.sdk.service.sql.QuerySourceEntryPoint
,databricks.sdk.service.sql.QuerySourceJobManager
,databricks.sdk.service.sql.QuerySourceTrigger
anddatabricks.sdk.service.sql.ServerlessChannelInfo
dataclasses. - Removed
databricks.sdk.service.workspace.CreateCredentials
,databricks.sdk.service.workspace.CreateRepo
,databricks.sdk.service.workspace.DeleteGitCredentialRequest
,databricks.sdk.service.workspace.GetGitCredentialRequest
,databricks.sdk.service.workspace.SparseCheckoutPattern
,databricks.sdk.service.workspace.UpdateCredentials
,databricks.sdk.service.workspace.UpdateRepo
andany
dataclasses. - Removed
status
field fordatabricks.sdk.service.apps.App
. - Removed
query_source
field fordatabricks.sdk.service.sql.QueryInfo
. - Removed
credentials
field fordatabricks.sdk.service.workspace.GetCredentialsResponse
.
OpenAPI SHA: 248f4ad9668661da9d0bf4a7b0119a2d44fd1e75, Date: 2024-09-25
- Integrate Databricks SDK with Model Serving Auth Provider (#761).
- Add DataPlane docs to the index (#764).
mypy
error: Skipping analyzing "google": module is installed, but missing library stubs or py.typed marker (#769).
- Support Models in
dbutils.fs
operations (#750).
- Do not specify --tenant flag when fetching managed identity access token from the CLI (#748).
- Fix deserialization of 401/403 errors (#758).
- Use correct optional typing in
WorkspaceClient
formypy
(#760).
- Properly include message when handing SCIM errors (#753).
- Handle non-JSON errors gracefully (#741).
- Add Data Plane access documentation (#732).
- Fix test_iam::test_scim_error_unmarshall integration test (#743).
- Added
regenerate_dashboard()
method for w.quality_monitors workspace-level service. - Added
databricks.sdk.service.catalog.RegenerateDashboardRequest
anddatabricks.sdk.service.catalog.RegenerateDashboardResponse
dataclasses. - Added
databricks.sdk.service.jobs.QueueDetails
,databricks.sdk.service.jobs.QueueDetailsCodeCode
,databricks.sdk.service.jobs.RunLifecycleStateV2State
,databricks.sdk.service.jobs.RunStatus
,databricks.sdk.service.jobs.TerminationCodeCode
,databricks.sdk.service.jobs.TerminationDetails
anddatabricks.sdk.service.jobs.TerminationTypeType
dataclasses. - Added
status
field fordatabricks.sdk.service.jobs.BaseRun
. - Added
status
field fordatabricks.sdk.service.jobs.RepairHistoryItem
. - Added
status
field fordatabricks.sdk.service.jobs.Run
. - Added
status
field fordatabricks.sdk.service.jobs.RunTask
. - Added
max_provisioned_throughput
andmin_provisioned_throughput
fields fordatabricks.sdk.service.serving.ServedModelInput
. - Added
columns_to_sync
field fordatabricks.sdk.service.vectorsearch.DeltaSyncVectorIndexSpecRequest
. - Changed
workload_size
field fordatabricks.sdk.service.serving.ServedModelInput
to no longer be required.
OpenAPI SHA: d05898328669a3f8ab0c2ecee37db2673d3ea3f7, Date: 2024-09-04
- Fix
DatabricksConfig.copy
when authenticated with OAuth (#723).
- Fix get_workspace_client test to match Go SDK behavior (#738).
- Verify that
WorkspaceClient
created fromAccountClient
does actually work through integration tests (#736).
- Fixed regression introduced in v0.30.0 causing
ValueError: Invalid semantic version: 0.33.1+420240816190912
(#729).
- Escape single quotes in regex matchers (#727).
- Added w.policy_compliance_for_clusters workspace-level service.
- Added w.policy_compliance_for_jobs workspace-level service.
- Added w.resource_quotas workspace-level service.
- Added
databricks.sdk.service.catalog.GetQuotaRequest
,databricks.sdk.service.catalog.GetQuotaResponse
,databricks.sdk.service.catalog.ListQuotasRequest
,databricks.sdk.service.catalog.ListQuotasResponse
anddatabricks.sdk.service.catalog.QuotaInfo
dataclasses. - Added
databricks.sdk.service.compute.ClusterCompliance
,databricks.sdk.service.compute.ClusterSettingsChange
,databricks.sdk.service.compute.EnforceClusterComplianceRequest
,databricks.sdk.service.compute.EnforceClusterComplianceResponse
,databricks.sdk.service.compute.GetClusterComplianceRequest
,databricks.sdk.service.compute.GetClusterComplianceResponse
,databricks.sdk.service.compute.ListClusterCompliancesRequest
anddatabricks.sdk.service.compute.ListClusterCompliancesResponse
dataclasses. - Added
databricks.sdk.service.jobs.EnforcePolicyComplianceForJobResponseJobClusterSettingsChange
,databricks.sdk.service.jobs.EnforcePolicyComplianceRequest
,databricks.sdk.service.jobs.EnforcePolicyComplianceResponse
,databricks.sdk.service.jobs.GetPolicyComplianceRequest
,databricks.sdk.service.jobs.GetPolicyComplianceResponse
,databricks.sdk.service.jobs.JobCompliance
,databricks.sdk.service.jobs.ListJobComplianceForPolicyResponse
anddatabricks.sdk.service.jobs.ListJobComplianceRequest
dataclasses. - Added
fallback
field fordatabricks.sdk.service.catalog.CreateExternalLocation
. - Added
fallback
field fordatabricks.sdk.service.catalog.ExternalLocationInfo
. - Added
fallback
field fordatabricks.sdk.service.catalog.UpdateExternalLocation
. - Added
job_run_id
field fordatabricks.sdk.service.jobs.BaseRun
. - Added
job_run_id
field fordatabricks.sdk.service.jobs.Run
. - Added
include_metrics
field fordatabricks.sdk.service.sql.ListQueryHistoryRequest
. - Added
statement_ids
field fordatabricks.sdk.service.sql.QueryFilter
. - Removed
databricks.sdk.service.sql.ContextFilter
dataclass. - Removed
context_filter
field fordatabricks.sdk.service.sql.QueryFilter
. - Removed
pipeline_id
andpipeline_update_id
fields fordatabricks.sdk.service.sql.QuerySource
.
OpenAPI SHA: 3eae49b444cac5a0118a3503e5b7ecef7f96527a, Date: 2024-08-21
- Check trailing slash in host url (#681).
- Decrease runtime of recursive workspace listing test (#721).
- Fix test_get_workspace_client and test_runtime_auth_from_jobs (#719).
- Infer Azure tenant ID if not set (#638).
- Add Release tag and Workflow fix (#704).
- Add apps package in docgen (#722).
- Fix processing of
quoted
titles (#712). - Improve Changelog by grouping changes (#703).
- Move PR message validation to a separate workflow (#707).
- Test that Jobs API endpoints are pinned to 2.1 (#714).
- Trigger the validate workflow in the merge queue (#709).
- Update OpenAPI spec (#715).
- Add Windows WorkFlow (#692).
- Fix auth tests for windows. (#697).
- Fix for cancelled workflow (#701).
- Fix test_core for windows (#702).
- Fix test_local_io for windows (#695).
- Remove duplicate ubuntu tests (#693).
- fix windows path (#660) (#673).
- Added
databricks.sdk.service.apps
package. - Added a.usage_dashboards account-level service.
- Added w.alerts_legacy workspace-level service, w.queries_legacy workspace-level service and w.query_visualizations_legacy workspace-level service.
- Added w.genie workspace-level service.
- Added w.notification_destinations workspace-level service.
- Added
update()
method for w.clusters workspace-level service. - Added
list_visualizations()
method for w.queries workspace-level service. - Added
databricks.sdk.service.catalog.GetBindingsSecurableType
anddatabricks.sdk.service.catalog.UpdateBindingsSecurableType
dataclasses. - Added
databricks.sdk.service.billing.ActionConfiguration
,databricks.sdk.service.billing.ActionConfigurationType
,databricks.sdk.service.billing.AlertConfiguration
,databricks.sdk.service.billing.AlertConfigurationQuantityType
,databricks.sdk.service.billing.AlertConfigurationTimePeriod
,databricks.sdk.service.billing.AlertConfigurationTriggerType
,databricks.sdk.service.billing.BudgetConfiguration
,databricks.sdk.service.billing.BudgetConfigurationFilter
,databricks.sdk.service.billing.BudgetConfigurationFilterClause
,databricks.sdk.service.billing.BudgetConfigurationFilterOperator
,databricks.sdk.service.billing.BudgetConfigurationFilterTagClause
,databricks.sdk.service.billing.BudgetConfigurationFilterWorkspaceIdClause
,databricks.sdk.service.billing.CreateBillingUsageDashboardRequest
,databricks.sdk.service.billing.CreateBillingUsageDashboardResponse
,databricks.sdk.service.billing.CreateBudgetConfigurationBudget
,databricks.sdk.service.billing.CreateBudgetConfigurationBudgetActionConfigurations
,databricks.sdk.service.billing.CreateBudgetConfigurationBudgetAlertConfigurations
,databricks.sdk.service.billing.CreateBudgetConfigurationRequest
,databricks.sdk.service.billing.CreateBudgetConfigurationResponse
,databricks.sdk.service.billing.DeleteBudgetConfigurationRequest
,any
,databricks.sdk.service.billing.GetBillingUsageDashboardRequest
,databricks.sdk.service.billing.GetBillingUsageDashboardResponse
,databricks.sdk.service.billing.GetBudgetConfigurationRequest
,databricks.sdk.service.billing.GetBudgetConfigurationResponse
,databricks.sdk.service.billing.ListBudgetConfigurationsRequest
,databricks.sdk.service.billing.ListBudgetConfigurationsResponse
,databricks.sdk.service.billing.UpdateBudgetConfigurationBudget
,databricks.sdk.service.billing.UpdateBudgetConfigurationRequest
,databricks.sdk.service.billing.UpdateBudgetConfigurationResponse
anddatabricks.sdk.service.billing.UsageDashboardType
dataclasses. - Added
databricks.sdk.service.compute.ListClustersFilterBy
,databricks.sdk.service.compute.ListClustersSortBy
,databricks.sdk.service.compute.ListClustersSortByDirection
,databricks.sdk.service.compute.ListClustersSortByField
,databricks.sdk.service.compute.UpdateCluster
,databricks.sdk.service.compute.UpdateClusterResource
andany
dataclasses. - Added
databricks.sdk.service.dashboards.ExecuteMessageQueryRequest
,databricks.sdk.service.dashboards.GenieAttachment
,databricks.sdk.service.dashboards.GenieConversation
,databricks.sdk.service.dashboards.GenieCreateConversationMessageRequest
,databricks.sdk.service.dashboards.GenieGetConversationMessageRequest
,databricks.sdk.service.dashboards.GenieGetMessageQueryResultRequest
,databricks.sdk.service.dashboards.GenieGetMessageQueryResultResponse
,databricks.sdk.service.dashboards.GenieMessage
,databricks.sdk.service.dashboards.GenieStartConversationMessageRequest
,databricks.sdk.service.dashboards.GenieStartConversationResponse
,databricks.sdk.service.dashboards.MessageError
,databricks.sdk.service.dashboards.MessageErrorType
,databricks.sdk.service.dashboards.MessageStatus
,databricks.sdk.service.dashboards.QueryAttachment
,databricks.sdk.service.dashboards.Result
anddatabricks.sdk.service.dashboards.TextAttachment
dataclasses. - Added
any
,databricks.sdk.service.iam.MigratePermissionsRequest
anddatabricks.sdk.service.iam.MigratePermissionsResponse
dataclasses. - Added
databricks.sdk.service.oauth2.ListCustomAppIntegrationsRequest
anddatabricks.sdk.service.oauth2.ListPublishedAppIntegrationsRequest
dataclasses. - Added
databricks.sdk.service.pipelines.IngestionPipelineDefinition
anddatabricks.sdk.service.pipelines.PipelineStateInfoHealth
dataclasses. - Added
databricks.sdk.service.serving.GoogleCloudVertexAiConfig
dataclass. - Added
databricks.sdk.service.settings.Config
,databricks.sdk.service.settings.CreateNotificationDestinationRequest
,databricks.sdk.service.settings.DeleteNotificationDestinationRequest
,databricks.sdk.service.settings.DestinationType
,databricks.sdk.service.settings.EmailConfig
,any
,databricks.sdk.service.settings.GenericWebhookConfig
,databricks.sdk.service.settings.GetNotificationDestinationRequest
,databricks.sdk.service.settings.ListNotificationDestinationsRequest
,databricks.sdk.service.settings.ListNotificationDestinationsResponse
,databricks.sdk.service.settings.ListNotificationDestinationsResult
,databricks.sdk.service.settings.MicrosoftTeamsConfig
,databricks.sdk.service.settings.NotificationDestination
,databricks.sdk.service.settings.PagerdutyConfig
,databricks.sdk.service.settings.SlackConfig
anddatabricks.sdk.service.settings.UpdateNotificationDestinationRequest
dataclasses. - Added
databricks.sdk.service.sql.AlertCondition
,databricks.sdk.service.sql.AlertConditionOperand
,databricks.sdk.service.sql.AlertConditionThreshold
,databricks.sdk.service.sql.AlertOperandColumn
,databricks.sdk.service.sql.AlertOperandValue
,databricks.sdk.service.sql.AlertOperator
,databricks.sdk.service.sql.ClientCallContext
,databricks.sdk.service.sql.ContextFilter
,databricks.sdk.service.sql.CreateAlertRequest
,databricks.sdk.service.sql.CreateAlertRequestAlert
,databricks.sdk.service.sql.CreateQueryRequest
,databricks.sdk.service.sql.CreateQueryRequestQuery
,databricks.sdk.service.sql.CreateQueryVisualizationsLegacyRequest
,databricks.sdk.service.sql.CreateVisualizationRequest
,databricks.sdk.service.sql.CreateVisualizationRequestVisualization
,databricks.sdk.service.sql.DatePrecision
,databricks.sdk.service.sql.DateRange
,databricks.sdk.service.sql.DateRangeValue
,databricks.sdk.service.sql.DateRangeValueDynamicDateRange
,databricks.sdk.service.sql.DateValue
,databricks.sdk.service.sql.DateValueDynamicDate
,databricks.sdk.service.sql.DeleteAlertsLegacyRequest
,databricks.sdk.service.sql.DeleteQueriesLegacyRequest
,databricks.sdk.service.sql.DeleteQueryVisualizationsLegacyRequest
,databricks.sdk.service.sql.DeleteVisualizationRequest
,any
,databricks.sdk.service.sql.EncodedText
,databricks.sdk.service.sql.EncodedTextEncoding
,databricks.sdk.service.sql.EnumValue
,databricks.sdk.service.sql.GetAlertsLegacyRequest
,databricks.sdk.service.sql.GetQueriesLegacyRequest
,databricks.sdk.service.sql.LegacyAlert
,databricks.sdk.service.sql.LegacyAlertState
,databricks.sdk.service.sql.LegacyQuery
,databricks.sdk.service.sql.LegacyVisualization
,databricks.sdk.service.sql.LifecycleState
,databricks.sdk.service.sql.ListAlertsRequest
,databricks.sdk.service.sql.ListAlertsResponse
,databricks.sdk.service.sql.ListAlertsResponseAlert
,databricks.sdk.service.sql.ListQueriesLegacyRequest
,databricks.sdk.service.sql.ListQueryObjectsResponse
,databricks.sdk.service.sql.ListQueryObjectsResponseQuery
,databricks.sdk.service.sql.ListVisualizationsForQueryRequest
,databricks.sdk.service.sql.ListVisualizationsForQueryResponse
,databricks.sdk.service.sql.NumericValue
,databricks.sdk.service.sql.QueryBackedValue
,databricks.sdk.service.sql.QueryParameter
,databricks.sdk.service.sql.QuerySource
,databricks.sdk.service.sql.QuerySourceDriverInfo
,databricks.sdk.service.sql.QuerySourceEntryPoint
,databricks.sdk.service.sql.QuerySourceJobManager
,databricks.sdk.service.sql.QuerySourceTrigger
,databricks.sdk.service.sql.RestoreQueriesLegacyRequest
,databricks.sdk.service.sql.RunAsMode
,databricks.sdk.service.sql.ServerlessChannelInfo
,databricks.sdk.service.sql.StatementResponse
,databricks.sdk.service.sql.TextValue
,databricks.sdk.service.sql.TrashAlertRequest
,databricks.sdk.service.sql.TrashQueryRequest
,databricks.sdk.service.sql.UpdateAlertRequest
,databricks.sdk.service.sql.UpdateAlertRequestAlert
,databricks.sdk.service.sql.UpdateQueryRequest
,databricks.sdk.service.sql.UpdateQueryRequestQuery
,databricks.sdk.service.sql.UpdateVisualizationRequest
anddatabricks.sdk.service.sql.UpdateVisualizationRequestVisualization
dataclasses. - Added
force
field fordatabricks.sdk.service.catalog.DeleteSchemaRequest
. - Added
max_results
andpage_token
fields fordatabricks.sdk.service.catalog.GetBindingsRequest
. - Added
include_aliases
field fordatabricks.sdk.service.catalog.GetByAliasRequest
. - Added
include_aliases
field fordatabricks.sdk.service.catalog.GetModelVersionRequest
. - Added
include_aliases
field fordatabricks.sdk.service.catalog.GetRegisteredModelRequest
. - Added
max_results
andpage_token
fields fordatabricks.sdk.service.catalog.ListSystemSchemasRequest
. - Added
next_page_token
field fordatabricks.sdk.service.catalog.ListSystemSchemasResponse
. - Added
aliases
field fordatabricks.sdk.service.catalog.ModelVersionInfo
. - Added
next_page_token
field fordatabricks.sdk.service.catalog.WorkspaceBindingsResponse
. - Added
version
field fordatabricks.sdk.service.compute.GetPolicyFamilyRequest
. - Added
filter_by
,page_size
,page_token
andsort_by
fields fordatabricks.sdk.service.compute.ListClustersRequest
. - Added
next_page_token
andprev_page_token
fields fordatabricks.sdk.service.compute.ListClustersResponse
. - Added
page_token
field fordatabricks.sdk.service.jobs.GetRunRequest
. - Added
iterations
,next_page_token
andprev_page_token
fields fordatabricks.sdk.service.jobs.Run
. - Added
create_time
,created_by
,creator_username
andscopes
fields fordatabricks.sdk.service.oauth2.GetCustomAppIntegrationOutput
. - Added
next_page_token
field fordatabricks.sdk.service.oauth2.GetCustomAppIntegrationsOutput
. - Added
create_time
andcreated_by
fields fordatabricks.sdk.service.oauth2.GetPublishedAppIntegrationOutput
. - Added
next_page_token
field fordatabricks.sdk.service.oauth2.GetPublishedAppIntegrationsOutput
. - Added
enable_local_disk_encryption
field fordatabricks.sdk.service.pipelines.PipelineCluster
. - Added
whl
field fordatabricks.sdk.service.pipelines.PipelineLibrary
. - Added
health
field fordatabricks.sdk.service.pipelines.PipelineStateInfo
. - Added
ai21labs_api_key_plaintext
field fordatabricks.sdk.service.serving.Ai21LabsConfig
. - Added
aws_access_key_id_plaintext
andaws_secret_access_key_plaintext
fields fordatabricks.sdk.service.serving.AmazonBedrockConfig
. - Added
anthropic_api_key_plaintext
field fordatabricks.sdk.service.serving.AnthropicConfig
. - Added
cohere_api_base
andcohere_api_key_plaintext
fields fordatabricks.sdk.service.serving.CohereConfig
. - Added
databricks_api_token_plaintext
field fordatabricks.sdk.service.serving.DatabricksModelServingConfig
. - Added
google_cloud_vertex_ai_config
field fordatabricks.sdk.service.serving.ExternalModel
. - Added
microsoft_entra_client_secret_plaintext
andopenai_api_key_plaintext
fields fordatabricks.sdk.service.serving.OpenAiConfig
. - Added
palm_api_key_plaintext
field fordatabricks.sdk.service.serving.PaLmConfig
. - Added
expiration_time
field fordatabricks.sdk.service.sharing.CreateRecipient
. - Added
next_page_token
field fordatabricks.sdk.service.sharing.GetRecipientSharePermissionsResponse
. - Added
next_page_token
field fordatabricks.sdk.service.sharing.ListProviderSharesResponse
. - Added
max_results
andpage_token
fields fordatabricks.sdk.service.sharing.ListProvidersRequest
. - Added
next_page_token
field fordatabricks.sdk.service.sharing.ListProvidersResponse
. - Added
max_results
andpage_token
fields fordatabricks.sdk.service.sharing.ListRecipientsRequest
. - Added
next_page_token
field fordatabricks.sdk.service.sharing.ListRecipientsResponse
. - Added
max_results
andpage_token
fields fordatabricks.sdk.service.sharing.ListSharesRequest
. - Added
next_page_token
field fordatabricks.sdk.service.sharing.ListSharesResponse
. - Added
max_results
andpage_token
fields fordatabricks.sdk.service.sharing.SharePermissionsRequest
. - Added
expiration_time
field fordatabricks.sdk.service.sharing.UpdateRecipient
. - Added
max_results
andpage_token
fields fordatabricks.sdk.service.sharing.UpdateSharePermissions
. - Added
condition
,create_time
,custom_body
,custom_subject
,display_name
,lifecycle_state
,owner_user_name
,parent_path
,query_id
,seconds_to_retrigger
,trigger_time
andupdate_time
fields fordatabricks.sdk.service.sql.Alert
. - Added
id
field fordatabricks.sdk.service.sql.GetAlertRequest
. - Added
id
field fordatabricks.sdk.service.sql.GetQueryRequest
. - Added
page_token
field fordatabricks.sdk.service.sql.ListQueriesRequest
. - Added
apply_auto_limit
,catalog
,create_time
,display_name
,last_modifier_user_name
,lifecycle_state
,owner_user_name
,parameters
,parent_path
,query_text
,run_as_mode
,schema
,update_time
andwarehouse_id
fields fordatabricks.sdk.service.sql.Query
. - Added
context_filter
field fordatabricks.sdk.service.sql.QueryFilter
. - Added
query_source
field fordatabricks.sdk.service.sql.QueryInfo
. - Added
create_time
,display_name
,query_id
,serialized_options
,serialized_query_plan
andupdate_time
fields fordatabricks.sdk.service.sql.Visualization
. - Changed
create()
method for a.budgets account-level service to returndatabricks.sdk.service.billing.CreateBudgetConfigurationResponse
dataclass. - Changed
create()
method for a.budgets account-level service . New request type isdatabricks.sdk.service.billing.CreateBudgetConfigurationRequest
dataclass. - Changed
delete()
method for a.budgets account-level service . New request type isdatabricks.sdk.service.billing.DeleteBudgetConfigurationRequest
dataclass. - Changed
delete()
method for a.budgets account-level service to returnany
dataclass. - Changed
get()
method for a.budgets account-level service . New request type isdatabricks.sdk.service.billing.GetBudgetConfigurationRequest
dataclass. - Changed
get()
method for a.budgets account-level service to returndatabricks.sdk.service.billing.GetBudgetConfigurationResponse
dataclass. - Changed
list()
method for a.budgets account-level service to returndatabricks.sdk.service.billing.ListBudgetConfigurationsResponse
dataclass. - Changed
list()
method for a.budgets account-level service to require request ofdatabricks.sdk.service.billing.ListBudgetConfigurationsRequest
dataclass. - Changed
update()
method for a.budgets account-level service to returndatabricks.sdk.service.billing.UpdateBudgetConfigurationResponse
dataclass. - Changed
update()
method for a.budgets account-level service . New request type isdatabricks.sdk.service.billing.UpdateBudgetConfigurationRequest
dataclass. - Changed
create()
method for a.custom_app_integration account-level service with new required argument order. - Changed
list()
method for a.custom_app_integration account-level service to require request ofdatabricks.sdk.service.oauth2.ListCustomAppIntegrationsRequest
dataclass. - Changed
list()
method for a.published_app_integration account-level service to require request ofdatabricks.sdk.service.oauth2.ListPublishedAppIntegrationsRequest
dataclass. - Changed
delete()
method for a.workspace_assignment account-level service to returnany
dataclass. - Changed
update()
method for a.workspace_assignment account-level service with new required argument order. - Changed
create()
method for w.alerts workspace-level service . New request type isdatabricks.sdk.service.sql.CreateAlertRequest
dataclass. - Changed
delete()
method for w.alerts workspace-level service to returnany
dataclass. - Changed
delete()
method for w.alerts workspace-level service . New request type isdatabricks.sdk.service.sql.TrashAlertRequest
dataclass. - Changed
get()
method for w.alerts workspace-level service with new required argument order. - Changed
list()
method for w.alerts workspace-level service to returndatabricks.sdk.service.sql.ListAlertsResponse
dataclass. - Changed
list()
method for w.alerts workspace-level service to require request ofdatabricks.sdk.service.sql.ListAlertsRequest
dataclass. - Changed
update()
method for w.alerts workspace-level service to returndatabricks.sdk.service.sql.Alert
dataclass. - Changed
update()
method for w.alerts workspace-level service . New request type isdatabricks.sdk.service.sql.UpdateAlertRequest
dataclass. - Changed
create()
andedit()
methods for w.cluster_policies workspace-level service with new required argument order. - Changed
get()
method for w.model_versions workspace-level service to returndatabricks.sdk.service.catalog.ModelVersionInfo
dataclass. - Changed
migrate_permissions()
method for w.permission_migration workspace-level service . New request type isdatabricks.sdk.service.iam.MigratePermissionsRequest
dataclass. - Changed
migrate_permissions()
method for w.permission_migration workspace-level service to returndatabricks.sdk.service.iam.MigratePermissionsResponse
dataclass. - Changed
create()
method for w.queries workspace-level service . New request type isdatabricks.sdk.service.sql.CreateQueryRequest
dataclass. - Changed
delete()
method for w.queries workspace-level service to returnany
dataclass. - Changed
delete()
method for w.queries workspace-level service . New request type isdatabricks.sdk.service.sql.TrashQueryRequest
dataclass. - Changed
get()
method for w.queries workspace-level service with new required argument order. - Changed
list()
method for w.queries workspace-level service to returndatabricks.sdk.service.sql.ListQueryObjectsResponse
dataclass. - Changed
update()
method for w.queries workspace-level service . New request type isdatabricks.sdk.service.sql.UpdateQueryRequest
dataclass. - Changed
create()
method for w.query_visualizations workspace-level service . New request type isdatabricks.sdk.service.sql.CreateVisualizationRequest
dataclass. - Changed
delete()
method for w.query_visualizations workspace-level service to returnany
dataclass. - Changed
delete()
method for w.query_visualizations workspace-level service . New request type isdatabricks.sdk.service.sql.DeleteVisualizationRequest
dataclass. - Changed
update()
method for w.query_visualizations workspace-level service . New request type isdatabricks.sdk.service.sql.UpdateVisualizationRequest
dataclass. - Changed
list()
method for w.shares workspace-level service to require request ofdatabricks.sdk.service.sharing.ListSharesRequest
dataclass. - Changed
execute_statement()
andget_statement()
methods for w.statement_execution workspace-level service to returndatabricks.sdk.service.sql.StatementResponse
dataclass. - Changed
securable_type
field fordatabricks.sdk.service.catalog.GetBindingsRequest
todatabricks.sdk.service.catalog.GetBindingsSecurableType
dataclass. - Changed
securable_type
field fordatabricks.sdk.service.catalog.UpdateWorkspaceBindingsParameters
todatabricks.sdk.service.catalog.UpdateBindingsSecurableType
dataclass. - Changed
name
field fordatabricks.sdk.service.compute.CreatePolicy
to no longer be required. - Changed
name
field fordatabricks.sdk.service.compute.EditPolicy
to no longer be required. - Changed
policy_family_id
field fordatabricks.sdk.service.compute.GetPolicyFamilyRequest
tostr
dataclass. - Changed
policy_families
field fordatabricks.sdk.service.compute.ListPolicyFamiliesResponse
to no longer be required. - Changed
definition
,description
,name
andpolicy_family_id
fields fordatabricks.sdk.service.compute.PolicyFamily
to no longer be required. - Changed
permissions
field fordatabricks.sdk.service.iam.UpdateWorkspaceAssignments
to no longer be required. - Changed
access_control_list
field fordatabricks.sdk.service.jobs.CreateJob
todatabricks.sdk.service.jobs.JobAccessControlRequestList
dataclass. - Changed
access_control_list
field fordatabricks.sdk.service.jobs.SubmitRun
todatabricks.sdk.service.jobs.JobAccessControlRequestList
dataclass. - Changed
name
andredirect_urls
fields fordatabricks.sdk.service.oauth2.CreateCustomAppIntegration
to no longer be required. - Changed
ingestion_definition
field fordatabricks.sdk.service.pipelines.CreatePipeline
todatabricks.sdk.service.pipelines.IngestionPipelineDefinition
dataclass. - Changed
ingestion_definition
field fordatabricks.sdk.service.pipelines.EditPipeline
todatabricks.sdk.service.pipelines.IngestionPipelineDefinition
dataclass. - Changed
ingestion_definition
field fordatabricks.sdk.service.pipelines.PipelineSpec
todatabricks.sdk.service.pipelines.IngestionPipelineDefinition
dataclass. - Changed
ai21labs_api_key
field fordatabricks.sdk.service.serving.Ai21LabsConfig
to no longer be required. - Changed
aws_access_key_id
andaws_secret_access_key
fields fordatabricks.sdk.service.serving.AmazonBedrockConfig
to no longer be required. - Changed
anthropic_api_key
field fordatabricks.sdk.service.serving.AnthropicConfig
to no longer be required. - Changed
cohere_api_key
field fordatabricks.sdk.service.serving.CohereConfig
to no longer be required. - Changed
databricks_api_token
field fordatabricks.sdk.service.serving.DatabricksModelServingConfig
to no longer be required. - Changed
palm_api_key
field fordatabricks.sdk.service.serving.PaLmConfig
to no longer be required. - Changed
tags
field fordatabricks.sdk.service.sql.Query
todatabricks.sdk.service.sql.List
dataclass. - Changed
user_ids
andwarehouse_ids
fields fordatabricks.sdk.service.sql.QueryFilter
todatabricks.sdk.service.sql.List
dataclass. - Changed
results
field fordatabricks.sdk.service.sql.QueryList
todatabricks.sdk.service.sql.LegacyQueryList
dataclass. - Changed
visualization
field fordatabricks.sdk.service.sql.Widget
todatabricks.sdk.service.sql.LegacyVisualization
dataclass. - Removed w.apps workspace-level service.
- Removed
restore()
method for w.queries workspace-level service. - Removed
databricks.sdk.service.marketplace.FilterType
,databricks.sdk.service.marketplace.ProviderIconFile
,databricks.sdk.service.marketplace.ProviderIconType
,databricks.sdk.service.marketplace.ProviderListingSummaryInfo
,databricks.sdk.service.marketplace.SortBy
anddatabricks.sdk.service.marketplace.VisibilityFilter
dataclasses. - Removed
databricks.sdk.service.billing.Budget
,databricks.sdk.service.billing.BudgetAlert
,databricks.sdk.service.billing.BudgetList
,databricks.sdk.service.billing.BudgetWithStatus
,databricks.sdk.service.billing.BudgetWithStatusStatusDailyItem
,databricks.sdk.service.billing.DeleteBudgetRequest
,any
,databricks.sdk.service.billing.GetBudgetRequest
,any
,databricks.sdk.service.billing.WrappedBudget
anddatabricks.sdk.service.billing.WrappedBudgetWithStatus
dataclasses. - Removed
any
,databricks.sdk.service.iam.PermissionMigrationRequest
anddatabricks.sdk.service.iam.PermissionMigrationResponse
dataclasses. - Removed
databricks.sdk.service.pipelines.ManagedIngestionPipelineDefinition
dataclass. - Removed
databricks.sdk.service.serving.App
,databricks.sdk.service.serving.AppDeployment
,databricks.sdk.service.serving.AppDeploymentArtifacts
,databricks.sdk.service.serving.AppDeploymentMode
,databricks.sdk.service.serving.AppDeploymentState
,databricks.sdk.service.serving.AppDeploymentStatus
,databricks.sdk.service.serving.AppEnvironment
,databricks.sdk.service.serving.AppState
,databricks.sdk.service.serving.AppStatus
,databricks.sdk.service.serving.CreateAppDeploymentRequest
,databricks.sdk.service.serving.CreateAppRequest
,databricks.sdk.service.serving.DeleteAppRequest
,databricks.sdk.service.serving.EnvVariable
,databricks.sdk.service.serving.GetAppDeploymentRequest
,databricks.sdk.service.serving.GetAppEnvironmentRequest
,databricks.sdk.service.serving.GetAppRequest
,databricks.sdk.service.serving.ListAppDeploymentsRequest
,databricks.sdk.service.serving.ListAppDeploymentsResponse
,databricks.sdk.service.serving.ListAppsRequest
,databricks.sdk.service.serving.ListAppsResponse
,databricks.sdk.service.serving.StartAppRequest
,databricks.sdk.service.serving.StopAppRequest
,any
anddatabricks.sdk.service.serving.UpdateAppRequest
dataclasses. - Removed
databricks.sdk.service.sql.CreateQueryVisualizationRequest
,databricks.sdk.service.sql.DeleteAlertRequest
,databricks.sdk.service.sql.DeleteQueryRequest
,databricks.sdk.service.sql.DeleteQueryVisualizationRequest
,databricks.sdk.service.sql.ExecuteStatementResponse
,databricks.sdk.service.sql.GetStatementResponse
,databricks.sdk.service.sql.RestoreQueryRequest
,databricks.sdk.service.sql.StatementId
,databricks.sdk.service.sql.UserId
anddatabricks.sdk.service.sql.WarehouseId
dataclasses. - Removed
databricks.sdk.service.compute.PolicyFamilyId
dataclass. - Removed
can_use_client
field fordatabricks.sdk.service.compute.ListClustersRequest
. - Removed
is_ascending
andsort_by
fields fordatabricks.sdk.service.marketplace.ListListingsRequest
. - Removed
provider_summary
field fordatabricks.sdk.service.marketplace.Listing
. - Removed
filters
field fordatabricks.sdk.service.marketplace.ListingSetting
. - Removed
metastore_id
field fordatabricks.sdk.service.marketplace.ListingSummary
. - Removed
is_ascending
andsort_by
fields fordatabricks.sdk.service.marketplace.SearchListingsRequest
. - Removed
created_at
,last_triggered_at
,name
,options
,parent
,query
,rearm
,updated_at
anduser
fields fordatabricks.sdk.service.sql.Alert
. - Removed
alert_id
field fordatabricks.sdk.service.sql.GetAlertRequest
. - Removed
query_id
field fordatabricks.sdk.service.sql.GetQueryRequest
. - Removed
order
,page
andq
fields fordatabricks.sdk.service.sql.ListQueriesRequest
. - Removed
include_metrics
field fordatabricks.sdk.service.sql.ListQueryHistoryRequest
. - Removed
can_edit
,created_at
,data_source_id
,is_archived
,is_draft
,is_favorite
,is_safe
,last_modified_by
,last_modified_by_id
,latest_query_data_id
,name
,options
,parent
,permission_tier
,query
,query_hash
,run_as_role
,updated_at
,user
,user_id
andvisualizations
fields fordatabricks.sdk.service.sql.Query
. - Removed
statement_ids
field fordatabricks.sdk.service.sql.QueryFilter
. - Removed
can_subscribe_to_live_query
field fordatabricks.sdk.service.sql.QueryInfo
. - Removed
metadata_time_ms
,planning_time_ms
andquery_execution_time_ms
fields fordatabricks.sdk.service.sql.QueryMetrics
. - Removed
created_at
,description
,name
,options
,query
andupdated_at
fields fordatabricks.sdk.service.sql.Visualization
.
OpenAPI SHA: f98c07f9c71f579de65d2587bb0292f83d10e55d, Date: 2024-08-12
- Create a method to generate OAuth tokens (#644)
NOTE: this change renames @credentials_provider
/CredentialsProvider
to @credentials_strategy
/CredentialsStrategy
.
- Patch
dbutils.notebook.entry_point...
to return current local notebook path from env var (#618). - Add
serverless_compute_id
field to the config (#685). - Added
with_product(...)
andwith_user_agent_extra(...)
public functions to improve telemetry for mid-stream libraries (#679). - Fixed Interactive OAuth on Azure & updated documentations (#669).
- Fix documentation examples (#676).
- Ignore DataPlane Services during generation (#663).
- Update OpenAPI spec (#667).
- Retry failed integration tests (#674).
- Changed
list()
method for a.account_storage_credentials account-level service to returndatabricks.sdk.service.catalog.ListAccountStorageCredentialsResponse
dataclass. - Changed
isolation_mode
field fordatabricks.sdk.service.catalog.CatalogInfo
todatabricks.sdk.service.catalog.CatalogIsolationMode
dataclass. - Added
isolation_mode
field fordatabricks.sdk.service.catalog.ExternalLocationInfo
. - Added
max_results
andpage_token
fields fordatabricks.sdk.service.catalog.ListCatalogsRequest
. - Added
next_page_token
field fordatabricks.sdk.service.catalog.ListCatalogsResponse
. - Added
table_serving_url
field fordatabricks.sdk.service.catalog.OnlineTable
. - Added
isolation_mode
field fordatabricks.sdk.service.catalog.StorageCredentialInfo
. - Changed
isolation_mode
field fordatabricks.sdk.service.catalog.UpdateCatalog
todatabricks.sdk.service.catalog.CatalogIsolationMode
dataclass. - Added
isolation_mode
field fordatabricks.sdk.service.catalog.UpdateExternalLocation
. - Added
isolation_mode
field fordatabricks.sdk.service.catalog.UpdateStorageCredential
. - Added
databricks.sdk.service.catalog.CatalogIsolationMode
anddatabricks.sdk.service.catalog.ListAccountStorageCredentialsResponse
dataclasses. - Added
create_schedule()
,create_subscription()
,delete_schedule()
,delete_subscription()
,get_schedule()
,get_subscription()
,list()
,list_schedules()
,list_subscriptions()
andupdate_schedule()
methods for w.lakeview workspace-level service. - Added
databricks.sdk.service.dashboards.CreateScheduleRequest
,databricks.sdk.service.dashboards.CreateSubscriptionRequest
,databricks.sdk.service.dashboards.CronSchedule
,databricks.sdk.service.dashboards.DashboardView
,databricks.sdk.service.dashboards.DeleteScheduleRequest
,databricks.sdk.service.dashboards.DeleteSubscriptionRequest
dataclass,databricks.sdk.service.dashboards.GetScheduleRequest
,databricks.sdk.service.dashboards.GetSubscriptionRequest
,databricks.sdk.service.dashboards.ListDashboardsRequest
,databricks.sdk.service.dashboards.ListDashboardsResponse
,databricks.sdk.service.dashboards.ListSchedulesRequest
,databricks.sdk.service.dashboards.ListSchedulesResponse
,databricks.sdk.service.dashboards.ListSubscriptionsRequest
,databricks.sdk.service.dashboards.ListSubscriptionsResponse
,databricks.sdk.service.dashboards.Schedule
,databricks.sdk.service.dashboards.SchedulePauseStatus
,databricks.sdk.service.dashboards.Subscriber
,databricks.sdk.service.dashboards.Subscription
,databricks.sdk.service.dashboards.SubscriptionSubscriberDestination
,databricks.sdk.service.dashboards.SubscriptionSubscriberUser
anddatabricks.sdk.service.dashboards.UpdateScheduleRequest
dataclasses. - Added
termination_category
field fordatabricks.sdk.service.jobs.ForEachTaskErrorMessageStats
. - Added
on_streaming_backlog_exceeded
field fordatabricks.sdk.service.jobs.JobEmailNotifications
. - Added
environment_key
field fordatabricks.sdk.service.jobs.RunTask
. - Removed
condition_task
,dbt_task
,notebook_task
,pipeline_task
,python_wheel_task
,run_job_task
,spark_jar_task
,spark_python_task
,spark_submit_task
andsql_task
fields fordatabricks.sdk.service.jobs.SubmitRun
. - Added
environments
field fordatabricks.sdk.service.jobs.SubmitRun
. - Added
dbt_task
field fordatabricks.sdk.service.jobs.SubmitTask
. - Added
environment_key
field fordatabricks.sdk.service.jobs.SubmitTask
. - Added
on_streaming_backlog_exceeded
field fordatabricks.sdk.service.jobs.TaskEmailNotifications
. - Added
periodic
field fordatabricks.sdk.service.jobs.TriggerSettings
. - Added
on_streaming_backlog_exceeded
field fordatabricks.sdk.service.jobs.WebhookNotifications
. - Added
databricks.sdk.service.jobs.PeriodicTriggerConfiguration
dataclass. - Added
databricks.sdk.service.jobs.PeriodicTriggerConfigurationTimeUnit
dataclass. - Added
batch_get()
method for w.consumer_listings workspace-level service. - Added
batch_get()
method for w.consumer_providers workspace-level service. - Added
provider_summary
field fordatabricks.sdk.service.marketplace.Listing
. - Added
databricks.sdk.service.marketplace.BatchGetListingsRequest
,databricks.sdk.service.marketplace.BatchGetListingsResponse
,databricks.sdk.service.marketplace.BatchGetProvidersRequest
,databricks.sdk.service.marketplace.BatchGetProvidersResponse
,databricks.sdk.service.marketplace.ProviderIconFile
,databricks.sdk.service.marketplace.ProviderIconType
,databricks.sdk.service.marketplace.ProviderListingSummaryInfo
anddatabricks.sdk.service.oauth2.DataPlaneInfo
dataclasses. - Removed
create_deployment()
method for w.apps workspace-level service. - Added
deploy()
andstart()
method1 for w.apps workspace-level service. - Added w.serving_endpoints_data_plane workspace-level service.
- Added
service_principal_id
andservice_principal_name
fields fordatabricks.sdk.service.serving.App
. - Added
mode
field fordatabricks.sdk.service.serving.AppDeployment
. - Added
mode
field fordatabricks.sdk.service.serving.CreateAppDeploymentRequest
. - Added
data_plane_info
field fordatabricks.sdk.service.serving.ServingEndpointDetailed
. - Added
databricks.sdk.service.serving.AppDeploymentMode
,databricks.sdk.service.serving.ModelDataPlaneInfo
anddatabricks.sdk.service.serving.StartAppRequest
dataclasses. - Added
query_next_page()
method for w.vector_search_indexes workspace-level service. - Added
query_type
field fordatabricks.sdk.service.vectorsearch.QueryVectorIndexRequest
. - Added
next_page_token
field fordatabricks.sdk.service.vectorsearch.QueryVectorIndexResponse
.
OpenAPI SHA: 7437dabb9dadee402c1fc060df4c1ce8cc5369f0, Date: 2024-06-24
- Better error message when private link enabled workspaces reject requests (#647).
- Renamed w.lakehouse_monitors workspace-level service to w.quality_monitors .
- Added
databricks.sdk.service.vectorsearch.ListValue
dataclass. - Added
databricks.sdk.service.vectorsearch.MapStringValueEntry
dataclass. - Added
databricks.sdk.service.vectorsearch.ScanVectorIndexRequest
dataclass. - Added
databricks.sdk.service.vectorsearch.ScanVectorIndexResponse
dataclass. - Added
databricks.sdk.service.vectorsearch.Struct
dataclass. - Added
databricks.sdk.service.vectorsearch.Value
dataclass. - Added
databricks.sdk.service.catalog.ListConnectionsRequest
dataclass. - Added
databricks.sdk.service.catalog.MonitorRefreshListResponse
dataclass. - Added
databricks.sdk.service.pipelines.IngestionGatewayPipelineDefinition
dataclass. - Added
databricks.sdk.service.pipelines.TableSpecificConfig
dataclass. - Added
databricks.sdk.service.pipelines.TableSpecificConfigScdType
dataclass. - Added
databricks.sdk.service.serving.AppDeploymentArtifacts
dataclass. - Removed
databricks.sdk.service.catalog.EnableSchemaName
dataclass. - Removed
databricks.sdk.service.catalog.DisableSchemaName
dataclass. - Removed
databricks.sdk.service.marketplace.SortBySpec
dataclass. - Removed
databricks.sdk.service.marketplace.SortOrder
dataclass. - Renamed
databricks.sdk.service.catalog.DeleteLakehouseMonitorRequest
dataclass todatabricks.sdk.service.catalog.DeleteQualityMonitorRequest
. - Renamed
databricks.sdk.service.catalog.GetLakehouseMonitorRequest
dataclass todatabricks.sdk.service.catalog.GetQualityMonitorRequest
. - Added
next_page_token
field fordatabricks.sdk.service.catalog.ListConnectionsResponse
. - Added
dashboard_id
field fordatabricks.sdk.service.catalog.UpdateMonitor
. - Added
is_ascending
andsort_by
fields fordatabricks.sdk.service.marketplace.ListListingsRequest
. - Added
is_ascending
field fordatabricks.sdk.service.marketplace.SearchListingsRequest
. - Added
gateway_definition
field fordatabricks.sdk.service.pipelines.CreatePipeline
. - Added
gateway_definition
field fordatabricks.sdk.service.pipelines.EditPipeline
. - Added
table_configuration
field fordatabricks.sdk.service.pipelines.ManagedIngestionPipelineDefinition
. - Added
gateway_definition
field fordatabricks.sdk.service.pipelines.PipelineSpec
. - Added
table_configuration
field fordatabricks.sdk.service.pipelines.SchemaSpec
. - Added
table_configuration
field fordatabricks.sdk.service.pipelines.TableSpec
. - Added
deployment_artifacts
field fordatabricks.sdk.service.serving.AppDeployment
. - Added
route_optimized
field fordatabricks.sdk.service.serving.CreateServingEndpoint
. - Added
contents
field fordatabricks.sdk.service.serving.ExportMetricsResponse
. - Added
microsoft_entra_client_id
,microsoft_entra_client_secret
andmicrosoft_entra_tenant_id
fields fordatabricks.sdk.service.serving.OpenAiConfig
. - Added
endpoint_url
androute_optimized
fields fordatabricks.sdk.service.serving.ServingEndpointDetailed
. - Added
storage_root
field fordatabricks.sdk.service.sharing.CreateShare
. - Added
storage_location
andstorage_root
fields fordatabricks.sdk.service.sharing.ShareInfo
. - Added
storage_root
field fordatabricks.sdk.service.sharing.UpdateShare
. - Added
embedding_writeback_table
field fordatabricks.sdk.service.vectorsearch.DeltaSyncVectorIndexSpecRequest
. - Added
embedding_writeback_table
field fordatabricks.sdk.service.vectorsearch.DeltaSyncVectorIndexSpecResponse
. - Changed
schema_name
field fordatabricks.sdk.service.catalog.DisableRequest
tostr
dataclass. - Changed
schema_name
field fordatabricks.sdk.service.catalog.EnableRequest
tostr
dataclass. - Changed
cluster_status()
method for w.libraries workspace-level service to returndatabricks.sdk.service.compute.ClusterLibraryStatuses
dataclass. - Changed
spec
andcluster_source
fields fordatabricks.sdk.service.compute.ClusterDetails
todatabricks.sdk.service.compute.ClusterSpec
dataclass. - Changed
openai_api_key
field fordatabricks.sdk.service.serving.OpenAiConfig
to no longer be required. - Removed
cluster_source
field fordatabricks.sdk.service.compute.ClusterAttributes
. - Removed
cluster_source
field fordatabricks.sdk.service.compute.ClusterSpec
. - Removed
databricks.sdk.service.compute.ClusterStatusResponse
dataclass. - Removed
cluster_source
field fordatabricks.sdk.service.compute.CreateCluster
. - Removed
clone_from
andcluster_source
fields fordatabricks.sdk.service.compute.EditCluster
. - Removed
sort_by_spec
field fordatabricks.sdk.service.marketplace.ListListingsRequest
. - Added
scan_index()
method for w.vector_search_indexes workspace-level service. - Changed
list()
method for w.connections workspace-level service to require request ofdatabricks.sdk.service.catalog.ListConnectionsRequest
dataclass.
OpenAPI SHA: 7eb5ad9a2ed3e3f1055968a2d1014ac92c06fe92, Date: 2024-05-21
- Fix null body response to empty in ApiClient (#579).
- Fixed codecov for repository (#636).
API Changes:
- Added
ingestion_definition
field fordatabricks.sdk.service.pipelines.CreatePipeline
. - Added
ingestion_definition
field fordatabricks.sdk.service.pipelines.EditPipeline
. - Added
ingestion_definition
field fordatabricks.sdk.service.pipelines.PipelineSpec
. - Added
databricks.sdk.service.pipelines.IngestionConfig
dataclass. - Added
databricks.sdk.service.pipelines.ManagedIngestionPipelineDefinition
dataclass. - Added
databricks.sdk.service.pipelines.SchemaSpec
dataclass. - Added
databricks.sdk.service.pipelines.TableSpec
dataclass. - Changed
create()
method for w.apps workspace-level service . New request type isdatabricks.sdk.service.serving.CreateAppRequest
dataclass. - Changed
create()
method for w.apps workspace-level service to returndatabricks.sdk.service.serving.App
dataclass. - Removed
delete_app()
method for w.apps workspace-level service. - Removed
get_app()
method for w.apps workspace-level service. - Removed
get_app_deployment_status()
method for w.apps workspace-level service. - Removed
get_apps()
method for w.apps workspace-level service. - Removed
get_events()
method for w.apps workspace-level service. - Added
create_deployment()
method for w.apps workspace-level service. - Added
delete()
method for w.apps workspace-level service. - Added
get()
method for w.apps workspace-level service. - Added
get_deployment()
method for w.apps workspace-level service. - Added
get_environment()
method for w.apps workspace-level service. - Added
list()
method for w.apps workspace-level service. - Added
list_deployments()
method for w.apps workspace-level service. - Added
stop()
method for w.apps workspace-level service. - Added
update()
method for w.apps workspace-level service. - Added
get_open_api()
method for w.serving_endpoints workspace-level service. - Removed
databricks.sdk.service.serving.AppEvents
dataclass. - Removed
databricks.sdk.service.serving.AppManifest
dataclass. - Removed
databricks.sdk.service.serving.AppServiceStatus
dataclass. - Removed
databricks.sdk.service.serving.DeleteAppResponse
dataclass. - Removed
databricks.sdk.service.serving.DeployAppRequest
dataclass. - Removed
databricks.sdk.service.serving.DeploymentStatus
dataclass. - Removed
databricks.sdk.service.serving.DeploymentStatusState
dataclass. - Removed
databricks.sdk.service.serving.GetAppDeploymentStatusRequest
dataclass. - Removed
databricks.sdk.service.serving.GetAppResponse
dataclass. - Removed
databricks.sdk.service.serving.GetEventsRequest
dataclass. - Removed
databricks.sdk.service.serving.ListAppEventsResponse
dataclass. - Changed
apps
field fordatabricks.sdk.service.serving.ListAppsResponse
todatabricks.sdk.service.serving.AppList
dataclass. - Added
databricks.sdk.service.serving.App
dataclass. - Added
databricks.sdk.service.serving.AppDeployment
dataclass. - Added
databricks.sdk.service.serving.AppDeploymentState
dataclass. - Added
databricks.sdk.service.serving.AppDeploymentStatus
dataclass. - Added
databricks.sdk.service.serving.AppEnvironment
dataclass. - Added
databricks.sdk.service.serving.AppState
dataclass. - Added
databricks.sdk.service.serving.AppStatus
dataclass. - Added
databricks.sdk.service.serving.CreateAppDeploymentRequest
dataclass. - Added
databricks.sdk.service.serving.CreateAppRequest
dataclass. - Added
databricks.sdk.service.serving.EnvVariable
dataclass. - Added
databricks.sdk.service.serving.GetAppDeploymentRequest
dataclass. - Added
databricks.sdk.service.serving.GetAppEnvironmentRequest
dataclass. - Added
databricks.sdk.service.serving.GetOpenApiRequest
dataclass. - Added
any
dataclass. - Added
databricks.sdk.service.serving.ListAppDeploymentsRequest
dataclass. - Added
databricks.sdk.service.serving.ListAppDeploymentsResponse
dataclass. - Added
databricks.sdk.service.serving.ListAppsRequest
dataclass. - Added
databricks.sdk.service.serving.StopAppRequest
dataclass. - Added
any
dataclass. - Added
databricks.sdk.service.serving.UpdateAppRequest
dataclass. - Removed w.csp_enablement workspace-level service.
- Removed w.esm_enablement workspace-level service.
- Added w.compliance_security_profile workspace-level service.
- Added w.enhanced_security_monitoring workspace-level service.
- Removed
databricks.sdk.service.settings.CspEnablement
dataclass. - Removed
databricks.sdk.service.settings.CspEnablementSetting
dataclass. - Removed
databricks.sdk.service.settings.EsmEnablement
dataclass. - Removed
databricks.sdk.service.settings.EsmEnablementSetting
dataclass. - Removed
databricks.sdk.service.settings.GetCspEnablementSettingRequest
dataclass. - Removed
databricks.sdk.service.settings.GetEsmEnablementSettingRequest
dataclass. - Removed
databricks.sdk.service.settings.UpdateCspEnablementSettingRequest
dataclass. - Removed
databricks.sdk.service.settings.UpdateEsmEnablementSettingRequest
dataclass. - Added
databricks.sdk.service.settings.ComplianceSecurityProfile
dataclass. - Added
databricks.sdk.service.settings.ComplianceSecurityProfileSetting
dataclass. - Added
databricks.sdk.service.settings.EnhancedSecurityMonitoring
dataclass. - Added
databricks.sdk.service.settings.EnhancedSecurityMonitoringSetting
dataclass. - Added
databricks.sdk.service.settings.GetComplianceSecurityProfileSettingRequest
dataclass. - Added
databricks.sdk.service.settings.GetEnhancedSecurityMonitoringSettingRequest
dataclass. - Added
databricks.sdk.service.settings.UpdateComplianceSecurityProfileSettingRequest
dataclass. - Added
databricks.sdk.service.settings.UpdateEnhancedSecurityMonitoringSettingRequest
dataclass. - Added
tags
field fordatabricks.sdk.service.sql.DashboardEditContent
. - Added
tags
field fordatabricks.sdk.service.sql.QueryEditContent
. - Added
catalog
field fordatabricks.sdk.service.sql.QueryOptions
. - Added
schema
field fordatabricks.sdk.service.sql.QueryOptions
. - Added
tags
field fordatabricks.sdk.service.sql.QueryPostContent
. - Added
query
field fordatabricks.sdk.service.sql.Visualization
.
OpenAPI SHA: 9bb7950fa3390afb97abaa552934bc0a2e069de5, Date: 2024-05-02
- Increase cluster creation test timeout (#617).
- Added code example for adding a user to a group using group patch API (#625).
- Updated SDK to OpenAPI spec (#624).
Note: This release contains breaking changes, please see the API changes below for more details.
API Changes:
- Added
deployment
field fordatabricks.sdk.service.pipelines.CreatePipeline
,databricks.sdk.service.pipelines.EditPipeline
anddatabricks.sdk.service.pipelines.PipelineSpec
. - Added
schema_id
field fordatabricks.sdk.service.catalog.SchemaInfo
. - Added
operation
field fordatabricks.sdk.service.catalog.ValidationResult
. - Added
requirements
field fordatabricks.sdk.service.compute.Library
. - Added
warehouse_id
field fordatabricks.sdk.service.jobs.NotebookTask
. - Added
run_as
field fordatabricks.sdk.service.jobs.SubmitRun
. - Added
databricks.sdk.service.catalog.ValidationResultOperation
dataclass. - Added
databricks.sdk.service.compute.ClusterStatus
dataclass. - Added
databricks.sdk.service.compute.ClusterStatusResponse
dataclass. - Added
databricks.sdk.service.compute.LibraryInstallStatus
dataclass. - Added
databricks.sdk.service.pipelines.DeploymentKind
dataclass. - Added
databricks.sdk.service.pipelines.PipelineDeployment
dataclass. - Removed
aws_operation
field fordatabricks.sdk.service.catalog.ValidationResult
. - Removed
azure_operation
field fordatabricks.sdk.service.catalog.ValidationResult
. - Removed
gcp_operation
field fordatabricks.sdk.service.catalog.ValidationResult
. - Removed
databricks.sdk.service.catalog.ValidationResultAwsOperation
dataclass. - Removed
databricks.sdk.service.catalog.ValidationResultAzureOperation
dataclass. - Removed
databricks.sdk.service.catalog.ValidationResultGcpOperation
dataclass. - Removed
databricks.sdk.service.compute.LibraryFullStatusStatus
dataclass. - Removed
databricks.sdk.service.compute.ClusterStatusRequest
dataclass. - Changed
cluster_status()
method for w.libraries workspace-level service . New request type isdatabricks.sdk.service.compute.ClusterStatus
dataclass. - Changed
cluster_status()
method for w.libraries workspace-level service to returndatabricks.sdk.service.compute.ClusterStatusResponse
dataclass. - Changed
status
field fordatabricks.sdk.service.compute.LibraryFullStatus
todatabricks.sdk.service.compute.LibraryInstallStatus
dataclass.
OpenAPI SHA: 06d330f43d92c1be864d4638c672cd0723e20a51, Date: 2024-04-22
Bug fixes:
- Fixed
select_node_type
error (#614).
- Override INVALID_PARAMETER_VALUE on fetching non-existent job/cluster (#591). When getting a job or cluster by ID that doesn't exist, the API currently returns a 400, corresponding to the InvalidParameterValue exception. This change throws a ResourceNotFoundException instead in this circumstance. To handle this change, modify error handling by updating your
except
blocks from:
try:
w.jobs.get_by_id("123")
except e as InvalidParameterValue:
...
to
try:
w.jobs.get_by_id("123")
except e as ResourceDoesNotExist:
...
- Check downstream backwards compatibility (#600).
- Add support for upcoming Marketplace package (#608).
API Changes:
- Changed
cancel_refresh()
method for w.lakehouse_monitors workspace-level service with new required argument order. - Changed
create()
method for w.lakehouse_monitors workspace-level service with new required argument order. - Changed
delete()
method for w.lakehouse_monitors workspace-level service with new required argument order. - Changed
get()
method for w.lakehouse_monitors workspace-level service with new required argument order. - Changed
get_refresh()
method for w.lakehouse_monitors workspace-level service with new required argument order. - Changed
list_refreshes()
method for w.lakehouse_monitors workspace-level service with new required argument order. - Changed
run_refresh()
method for w.lakehouse_monitors workspace-level service with new required argument order. - Changed
update()
method for w.lakehouse_monitors workspace-level service with new required argument order. - Removed
databricks.sdk.service.catalog.AzureManagedIdentity
dataclass. - Removed
full_name
field fordatabricks.sdk.service.catalog.CancelRefreshRequest
. - Added
table_name
field fordatabricks.sdk.service.catalog.CancelRefreshRequest
. - Changed
custom_metrics
field fordatabricks.sdk.service.catalog.CreateMonitor
todatabricks.sdk.service.catalog.MonitorMetricList
dataclass. - Removed
full_name
field fordatabricks.sdk.service.catalog.CreateMonitor
. - Changed
inference_log
field fordatabricks.sdk.service.catalog.CreateMonitor
todatabricks.sdk.service.catalog.MonitorInferenceLog
dataclass. - Changed
notifications
field fordatabricks.sdk.service.catalog.CreateMonitor
todatabricks.sdk.service.catalog.MonitorNotifications
dataclass. - Changed
snapshot
field fordatabricks.sdk.service.catalog.CreateMonitor
toany
dataclass. - Changed
time_series
field fordatabricks.sdk.service.catalog.CreateMonitor
todatabricks.sdk.service.catalog.MonitorTimeSeries
dataclass. - Added
table_name
field fordatabricks.sdk.service.catalog.CreateMonitor
. - Changed
azure_managed_identity
field fordatabricks.sdk.service.catalog.CreateStorageCredential
todatabricks.sdk.service.catalog.AzureManagedIdentityRequest
dataclass. - Removed
full_name
field fordatabricks.sdk.service.catalog.DeleteLakehouseMonitorRequest
. - Added
table_name
field fordatabricks.sdk.service.catalog.DeleteLakehouseMonitorRequest
. - Removed
full_name
field fordatabricks.sdk.service.catalog.GetLakehouseMonitorRequest
. - Added
table_name
field fordatabricks.sdk.service.catalog.GetLakehouseMonitorRequest
. - Removed
full_name
field fordatabricks.sdk.service.catalog.GetRefreshRequest
. - Added
table_name
field fordatabricks.sdk.service.catalog.GetRefreshRequest
. - Removed
full_name
field fordatabricks.sdk.service.catalog.ListRefreshesRequest
. - Added
table_name
field fordatabricks.sdk.service.catalog.ListRefreshesRequest
. - Changed
quartz_cron_expression
field fordatabricks.sdk.service.catalog.MonitorCronSchedule
to be required. - Changed
timezone_id
field fordatabricks.sdk.service.catalog.MonitorCronSchedule
to be required. - Removed
databricks.sdk.service.catalog.MonitorCustomMetric
dataclass. - Removed
databricks.sdk.service.catalog.MonitorCustomMetricType
dataclass. - Removed
databricks.sdk.service.catalog.MonitorDestinations
dataclass. - Removed
databricks.sdk.service.catalog.MonitorInferenceLogProfileType
dataclass. - Removed
databricks.sdk.service.catalog.MonitorInferenceLogProfileTypeProblemType
dataclass. - Changed
custom_metrics
field fordatabricks.sdk.service.catalog.MonitorInfo
todatabricks.sdk.service.catalog.MonitorMetricList
dataclass. - Changed
drift_metrics_table_name
field fordatabricks.sdk.service.catalog.MonitorInfo
to be required. - Changed
inference_log
field fordatabricks.sdk.service.catalog.MonitorInfo
todatabricks.sdk.service.catalog.MonitorInferenceLog
dataclass. - Changed
monitor_version
field fordatabricks.sdk.service.catalog.MonitorInfo
to be required. - Changed
notifications
field fordatabricks.sdk.service.catalog.MonitorInfo
todatabricks.sdk.service.catalog.MonitorNotifications
dataclass. - Changed
profile_metrics_table_name
field fordatabricks.sdk.service.catalog.MonitorInfo
to be required. - Changed
snapshot
field fordatabricks.sdk.service.catalog.MonitorInfo
toany
dataclass. - Changed
status
field fordatabricks.sdk.service.catalog.MonitorInfo
to be required. - Changed
table_name
field fordatabricks.sdk.service.catalog.MonitorInfo
to be required. - Changed
time_series
field fordatabricks.sdk.service.catalog.MonitorInfo
todatabricks.sdk.service.catalog.MonitorTimeSeries
dataclass. - Removed
databricks.sdk.service.catalog.MonitorNotificationsConfig
dataclass. - Changed
refresh_id
field fordatabricks.sdk.service.catalog.MonitorRefreshInfo
to be required. - Changed
start_time_ms
field fordatabricks.sdk.service.catalog.MonitorRefreshInfo
to be required. - Changed
state
field fordatabricks.sdk.service.catalog.MonitorRefreshInfo
to be required. - Added
trigger
field fordatabricks.sdk.service.catalog.MonitorRefreshInfo
. - Removed
any
dataclass. - Removed
databricks.sdk.service.catalog.MonitorTimeSeriesProfileType
dataclass. - Removed
full_name
field fordatabricks.sdk.service.catalog.RunRefreshRequest
. - Added
table_name
field fordatabricks.sdk.service.catalog.RunRefreshRequest
. - Changed
azure_managed_identity
field fordatabricks.sdk.service.catalog.StorageCredentialInfo
todatabricks.sdk.service.catalog.AzureManagedIdentityResponse
dataclass. - Removed
name
field fordatabricks.sdk.service.catalog.TableRowFilter
. - Added
function_name
field fordatabricks.sdk.service.catalog.TableRowFilter
. - Changed
custom_metrics
field fordatabricks.sdk.service.catalog.UpdateMonitor
todatabricks.sdk.service.catalog.MonitorMetricList
dataclass. - Removed
full_name
field fordatabricks.sdk.service.catalog.UpdateMonitor
. - Changed
inference_log
field fordatabricks.sdk.service.catalog.UpdateMonitor
todatabricks.sdk.service.catalog.MonitorInferenceLog
dataclass. - Changed
notifications
field fordatabricks.sdk.service.catalog.UpdateMonitor
todatabricks.sdk.service.catalog.MonitorNotifications
dataclass. - Changed
snapshot
field fordatabricks.sdk.service.catalog.UpdateMonitor
toany
dataclass. - Changed
time_series
field fordatabricks.sdk.service.catalog.UpdateMonitor
todatabricks.sdk.service.catalog.MonitorTimeSeries
dataclass. - Added
table_name
field fordatabricks.sdk.service.catalog.UpdateMonitor
. - Changed
azure_managed_identity
field fordatabricks.sdk.service.catalog.UpdateStorageCredential
todatabricks.sdk.service.catalog.AzureManagedIdentityResponse
dataclass. - Changed
azure_managed_identity
field fordatabricks.sdk.service.catalog.ValidateStorageCredential
todatabricks.sdk.service.catalog.AzureManagedIdentityRequest
dataclass. - Removed
operation
field fordatabricks.sdk.service.catalog.ValidationResult
. - Added
aws_operation
field fordatabricks.sdk.service.catalog.ValidationResult
. - Added
azure_operation
field fordatabricks.sdk.service.catalog.ValidationResult
. - Added
gcp_operation
field fordatabricks.sdk.service.catalog.ValidationResult
. - Removed
databricks.sdk.service.catalog.ValidationResultOperation
dataclass. - Added
databricks.sdk.service.catalog.AzureManagedIdentityRequest
dataclass. - Added
databricks.sdk.service.catalog.AzureManagedIdentityResponse
dataclass. - Added
databricks.sdk.service.catalog.MonitorDestination
dataclass. - Added
databricks.sdk.service.catalog.MonitorInferenceLog
dataclass. - Added
databricks.sdk.service.catalog.MonitorInferenceLogProblemType
dataclass. - Added
databricks.sdk.service.catalog.MonitorMetric
dataclass. - Added
databricks.sdk.service.catalog.MonitorMetricType
dataclass. - Added
databricks.sdk.service.catalog.MonitorNotifications
dataclass. - Added
databricks.sdk.service.catalog.MonitorRefreshInfoTrigger
dataclass. - Added
any
dataclass. - Added
databricks.sdk.service.catalog.MonitorTimeSeries
dataclass. - Added
databricks.sdk.service.catalog.ValidationResultAwsOperation
dataclass. - Added
databricks.sdk.service.catalog.ValidationResultAzureOperation
dataclass. - Added
databricks.sdk.service.catalog.ValidationResultGcpOperation
dataclass. - Added
clone_from
field fordatabricks.sdk.service.compute.ClusterSpec
. - Removed
databricks.sdk.service.compute.ComputeSpec
dataclass. - Removed
databricks.sdk.service.compute.ComputeSpecKind
dataclass. - Added
clone_from
field fordatabricks.sdk.service.compute.CreateCluster
. - Added
clone_from
field fordatabricks.sdk.service.compute.EditCluster
. - Added
databricks.sdk.service.compute.CloneCluster
dataclass. - Added
databricks.sdk.service.compute.Environment
dataclass. - Changed
update()
method for a.workspace_assignment account-level service to returndatabricks.sdk.service.iam.PermissionAssignment
dataclass. - Removed
any
dataclass. - Removed
compute_key
field fordatabricks.sdk.service.jobs.ClusterSpec
. - Removed
compute
field fordatabricks.sdk.service.jobs.CreateJob
. - Added
environments
field fordatabricks.sdk.service.jobs.CreateJob
. - Removed
databricks.sdk.service.jobs.JobCompute
dataclass. - Removed
compute
field fordatabricks.sdk.service.jobs.JobSettings
. - Added
environments
field fordatabricks.sdk.service.jobs.JobSettings
. - Removed
compute_key
field fordatabricks.sdk.service.jobs.RunTask
. - Removed
databricks.sdk.service.jobs.TableTriggerConfiguration
dataclass. - Removed
compute_key
field fordatabricks.sdk.service.jobs.Task
. - Added
environment_key
field fordatabricks.sdk.service.jobs.Task
. - Changed
table
field fordatabricks.sdk.service.jobs.TriggerSettings
todatabricks.sdk.service.jobs.TableUpdateTriggerConfiguration
dataclass. - Changed
table_update
field fordatabricks.sdk.service.jobs.TriggerSettings
todatabricks.sdk.service.jobs.TableUpdateTriggerConfiguration
dataclass. - Added
databricks.sdk.service.jobs.JobEnvironment
dataclass. - Added
databricks.sdk.service.jobs.TableUpdateTriggerConfiguration
dataclass. - Added
databricks.sdk.service.marketplace
package.
OpenAPI SHA: 94684175b8bd65f8701f89729351f8069e8309c9, Date: 2024-04-11
- Properly escape multi-segment path parameters (#596).
- Revert changelog template changes for better diffs (#590).
- Added
migrate()
andunpublish()
method fors w.lakeview workspace-level service. - Added
databricks.sdk.service.dashboards.MigrateDashboardRequest
anddatabricks.sdk.service.dashboards.UnpublishDashboardRequest
dataclasses. - Added
description
,queue_duration
andrepair_history
fields fordatabricks.sdk.service.jobs.BaseRun
. - Added
compute_key
andjob_cluster_key
fields fordatabricks.sdk.service.jobs.ClusterSpec
. - Changed
left
,op
andright
fields fordatabricks.sdk.service.jobs.ConditionTask
to be required. - Changed
edit_mode
field fordatabricks.sdk.service.jobs.CreateJob
todatabricks.sdk.service.jobs.JobEditMode
dataclass. - Replaced
databricks.sdk.service.jobs.CreateJobEditMode
dataclass bydatabricks.sdk.service.jobs.JobEditMode
. - Changed
url
field fordatabricks.sdk.service.jobs.FileArrivalTriggerConfiguration
to be required. - Changed
error_message_stats
field fordatabricks.sdk.service.jobs.ForEachStats
todatabricks.sdk.service.jobs.ForEachTaskErrorMessageStatsList
dataclass. - Changed
new_cluster
field fordatabricks.sdk.service.jobs.JobCluster
to be required. - Changed
edit_mode
field fordatabricks.sdk.service.jobs.JobSettings
todatabricks.sdk.service.jobs.JobEditMode
dataclass. - Replaced
databricks.sdk.service.jobs.JobsSettingsEditMode
dataclass bydatabricks.sdk.service.jobs.JobEditMode
. - Changed
metric
,op
andvalue
fields fordatabricks.sdk.service.jobs.JobsHealthRule
to be required. - Changed
run_type
field fordatabricks.sdk.service.jobs.ListRunsRequest
todatabricks.sdk.service.jobs.RunType
dataclass. - Repplaced
databricks.sdk.service.jobs.ListRunsRunType
dataclass bydatabricks.sdk.service.jobs.RunType
dataclass. - Changed
pipeline_id
field fordatabricks.sdk.service.jobs.PipelineTask
to be required. - Changed
entry_point
andpackage_name
fields fordatabricks.sdk.service.jobs.PythonWheelTask
to be required. - Changed
job_parameters
field fordatabricks.sdk.service.jobs.RepairRun
to dict[str,str
] dataclass. - Changed
base_parameters
field fordatabricks.sdk.service.jobs.ResolvedNotebookTaskValues
to dict[str,str
] dataclass. - Changed
parameters
field fordatabricks.sdk.service.jobs.ResolvedParamPairValues
to dict[str,str
] dataclass. - Changed
named_parameters
field fordatabricks.sdk.service.jobs.ResolvedPythonWheelTaskValues
to dict[str,str
] dataclass. - Removed
named_parameters
field fordatabricks.sdk.service.jobs.ResolvedRunJobTaskValues
. - Changed
parameters
field fordatabricks.sdk.service.jobs.ResolvedRunJobTaskValues
to dict[str,str
] dataclass. - Added
job_parameters
field fordatabricks.sdk.service.jobs.ResolvedRunJobTaskValues
. - Added
description
andqueue_duration
fields fordatabricks.sdk.service.jobs.Run
. - Changed
op
field fordatabricks.sdk.service.jobs.RunConditionTask
todatabricks.sdk.service.jobs.ConditionTaskOp
dataclass. - Replaced
databricks.sdk.service.jobs.RunConditionTaskOp
dataclass bydatabricks.sdk.service.jobs.ConditionTaskOp
dataclass. - Changed
inputs
andtask
fields fordatabricks.sdk.service.jobs.RunForEachTask
to be required. - Changed
job_parameters
field fordatabricks.sdk.service.jobs.RunJobTask
to dict[str,str
] dataclass. - Added
dbt_commands
,jar_params
,notebook_params
,pipeline_params
,python_named_params
,python_params
,spark_submit_params
andsql_params
fields fordatabricks.sdk.service.jobs.RunJobTask
. - Changed
job_parameters
field fordatabricks.sdk.service.jobs.RunNow
to dict[str,str
] dataclass. - Added
info
field fordatabricks.sdk.service.jobs.RunOutput
. - Removed
job_parameters
field fordatabricks.sdk.service.jobs.RunParameters
. - Changed
task_key
field fordatabricks.sdk.service.jobs.RunTask
to be required. - Added
compute_key
,email_notifications
,job_cluster_key
,notification_settings
,run_duration
,run_page_url
,timeout_seconds
andwebhook_notifications
fields fordatabricks.sdk.service.jobs.RunTask
. - Added
endpoint_id
field fordatabricks.sdk.service.jobs.SqlQueryOutput
. - Added
condition_task
,dbt_task
,notebook_task
,pipeline_task
,python_wheel_task
,run_job_task
,spark_jar_task
,spark_python_task
,spark_submit_task
andsql_task
fields fordatabricks.sdk.service.jobs.SubmitRun
. - Added
description
field fordatabricks.sdk.service.jobs.SubmitTask
. - Added
disable_auto_optimization
field fordatabricks.sdk.service.jobs.Task
. - Added
no_alert_for_skipped_runs
field fordatabricks.sdk.service.jobs.TaskEmailNotifications
. - Added
table_update
field fordatabricks.sdk.service.jobs.TriggerSettings
. - Changed
id
field fordatabricks.sdk.service.jobs.Webhook
to be required. - Changed
on_duration_warning_threshold_exceeded
field fordatabricks.sdk.service.jobs.WebhookNotifications
todatabricks.sdk.service.jobs.WebhookList
dataclass. - Removed
databricks.sdk.service.jobs.WebhookNotificationsOnDurationWarningThresholdExceededItem
dataclass. - Added
databricks.sdk.service.jobs.JobEditMode
dataclass. - Replaced
databricks.sdk.service.serving.AwsBedrockConfig
dataclass bydatabricks.sdk.service.serving.AmazonBedrockConfig
dataclass. - Replaced
databricks.sdk.service.serving.AwsBedrockConfigBedrockProvider
dataclass bydatabricks.sdk.service.serving.AmazonBedrockConfigBedrockProvider
dataclass. - Renamed
aws_bedrock_config
field fordatabricks.sdk.service.serving.ExternalModel
toamazon_bedrock_config
. - Changed
get()
method for w.ip_access_lists workspace-level service . New request type isdatabricks.sdk.service.settings.GetIpAccessListRequest
dataclass. - Replaced
databricks.sdk.service.settings.GetIpAccessList
dataclass bydatabricks.sdk.service.settings.GetIpAccessListRequest
dataclass.
OpenAPI SHA: d38528c3e47dd81c9bdbd918272a3e49d36e09ce, Date: 2024-03-27
- Add CONTRIBUTING.md (#585).
API Changes:
- Added
databricks.sdk.service.catalog.AwsIamRoleResponse
dataclass. - Added
databricks.sdk.service.catalog.AwsIamRoleRequest
dataclass. - Removed
databricks.sdk.service.catalog.AwsIamRole
dataclass. - Changed
aws_iam_role
field fordatabricks.sdk.service.catalog.CreateStorageCredential
todatabricks.sdk.service.catalog.AwsIamRoleRequest
dataclass. - Changed
aws_iam_role
field fordatabricks.sdk.service.catalog.StorageCredentialInfo
todatabricks.sdk.service.catalog.AwsIamRoleResponse
dataclass. - Changed
aws_iam_role
field fordatabricks.sdk.service.catalog.UpdateStorageCredential
todatabricks.sdk.service.catalog.AwsIamRoleRequest
dataclass. - Changed
aws_iam_role
field fordatabricks.sdk.service.catalog.ValidateStorageCredential
todatabricks.sdk.service.catalog.AwsIamRoleRequest
dataclass. - Added
auto_capture_config
field fordatabricks.sdk.service.serving.EndpointPendingConfig
. - Added
databricks.sdk.service.sharing.SharedDataObjectDataObjectType
dataclass. - Changed
data_object_type
field fordatabricks.sdk.service.sharing.SharedDataObject
todatabricks.sdk.service.sharing.SharedDataObjectDataObjectType
dataclass. - Added
content
field fordatabricks.sdk.service.sharing.SharedDataObject
. - Added
embedding_source_columns
field fordatabricks.sdk.service.vectorsearch.DirectAccessVectorIndexSpec
.
OpenAPI SHA: 93763b0d7ae908520c229c786fff28b8fd623261, Date: 2024-03-20
- Fix typos in doc string for select_spark_version (#575).
API Changes:
- Changed
notifications
field fordatabricks.sdk.service.catalog.CreateMonitor
,databricks.sdk.service.catalog.MonitorInfo
, anddatabricks.sdk.service.catalog.UpdateMonitor
todatabricks.sdk.service.catalog.MonitorNotificationsConfig
dataclass. - Added
browse_only
field fordatabricks.sdk.service.catalog.ExternalLocationInfo
,databricks.sdk.service.catalog.FunctionInfo
,databricks.sdk.service.catalog.ModelVersionInfo
,databricks.sdk.service.catalog.RegisteredModelInfo
,databricks.sdk.service.catalog.SchemaInfo
,databricks.sdk.service.catalog.TableInfo
, anddatabricks.sdk.service.catalog.VolumeInfo
. - Added
include_browse
field fordatabricks.sdk.service.catalog.GetCatalogRequest
,databricks.sdk.service.catalog.GetExternalLocationRequest
,databricks.sdk.service.catalog.GetFunctionRequest
,databricks.sdk.service.catalog.GetModelVersionRequest
,databricks.sdk.service.catalog.GetRegisteredModelRequest
,databricks.sdk.service.catalog.GetSchemaRequest
,databricks.sdk.service.catalog.GetTableRequest
,databricks.sdk.service.catalog.ListExternalLocationsRequest
,databricks.sdk.service.catalog.ListFunctionsRequest
,databricks.sdk.service.catalog.ListModelVersionsRequest
,databricks.sdk.service.catalog.ListRegisteredModelsRequest
,databricks.sdk.service.catalog.ListSchemasRequest
,databricks.sdk.service.catalog.ListTablesRequest
,databricks.sdk.service.catalog.ListVolumesRequest
, anddatabricks.sdk.service.catalog.ReadVolumeRequest
. - Changed
publish()
method for w.lakeview workspace-level service to returndatabricks.sdk.service.dashboards.PublishedDashboard
dataclass. - Added
create()
,get()
,get_published()
,trash()
, andupdate()
methods for w.lakeview workspace-level service. - Added
databricks.sdk.service.dashboards.CreateDashboardRequest
,databricks.sdk.service.dashboards.Dashboard
,databricks.sdk.service.dashboards.GetLakeviewRequest
,databricks.sdk.service.dashboards.GetPublishedRequest
,databricks.sdk.service.dashboards.LifecycleState
,databricks.sdk.service.dashboards.PublishedDashboard
,databricks.sdk.service.dashboards.TrashRequest
, anddatabricks.sdk.service.dashboards.UpdateDashboardRequest
dataclasses.
OpenAPI SHA: c84caf9e5ef531cc0b1ddd0a76970d9a8b664e32, Date: 2024-03-15
- Fixed get_workspace_client in GCP (#532).
- Use all-apis scope with external-browser (#563).
- Make a best effort attempt to initialise all Databricks globals (#562).
- Fixed type issue with widgets.getArgument (#581)
- Note: Backwards incompatible changes - Settings are now nested, please see the API changes below.
- Added Files API docs to the SDK Documentation (#556).
- Added new example to list compute resource for SUBMIT_RUN job runs (#572).
- Sorted index pages by name in docs (#560).
- Added back enums to docs (#557).
Services:
- w.permission_migration workspace-level service.
- w.settings.automatic_cluster_update workspace-level service.
- w.settings.csp_enablement workspace-level service.
- a.settings.csp_enablement_account account-level service.
- w.settings.default_namespace workspace-level service.
- w.settings.esm_enablement workspace-level service.
- a.settings.esm_enablement_account account-level service.
- a.settings.personal_compute account-level service.
- w.settings.restrict_workspace_admins workspace-level service.
Dataclasses:
databricks.sdk.service.settings.AutomaticClusterUpdateSetting
databricks.sdk.service.settings.ClusterAutoRestartMessage
databricks.sdk.service.settings.ClusterAutoRestartMessageEnablementDetails
databricks.sdk.service.settings.ClusterAutoRestartMessageMaintenanceWindow
databricks.sdk.service.settings.ClusterAutoRestartMessageMaintenanceWindowDayOfWeek
databricks.sdk.service.settings.ClusterAutoRestartMessageMaintenanceWindowWeekDayBasedSchedule
databricks.sdk.service.settings.ClusterAutoRestartMessageMaintenanceWindowWeekDayFrequency
databricks.sdk.service.settings.ClusterAutoRestartMessageMaintenanceWindowWindowStartTime
databricks.sdk.service.settings.ComplianceStandard
databricks.sdk.service.settings.CspEnablement
databricks.sdk.service.settings.CspEnablementAccount
databricks.sdk.service.settings.CspEnablementAccountSetting
databricks.sdk.service.settings.CspEnablementSetting
databricks.sdk.service.settings.DeleteDefaultNamespaceRequest
databricks.sdk.service.settings.DeletePersonalComputeRequest
databricks.sdk.service.settings.DeleteRestrictWorkspaceAdminRequest
databricks.sdk.service.settings.EsmEnablement
databricks.sdk.service.settings.EsmEnablementAccount
databricks.sdk.service.settings.EsmEnablementAccountSetting
databricks.sdk.service.settings.EsmEnablementSetting
databricks.sdk.service.settings.GetAutomaticClusterUpdateRequest
databricks.sdk.service.settings.GetCspEnablementAccountRequest
databricks.sdk.service.settings.GetCspEnablementRequest
databricks.sdk.service.settings.GetDefaultNamespaceRequest
databricks.sdk.service.settings.GetEsmEnablementAccountRequest
databricks.sdk.service.settings.GetEsmEnablementRequest
databricks.sdk.service.settings.GetPersonalComputeRequest
databricks.sdk.service.settings.GetRestrictWorkspaceAdminRequest
databricks.sdk.service.settings.NccAwsStableIpRule
databricks.sdk.service.settings.UpdateAutomaticClusterUpdateSettingRequest
databricks.sdk.service.settings.UpdateCspEnablementAccountSettingRequest
databricks.sdk.service.settings.UpdateCspEnablementSettingRequest
databricks.sdk.service.settings.UpdateEsmEnablementAccountSettingRequest
databricks.sdk.service.settings.UpdateEsmEnablementSettingRequest
databricks.sdk.service.vectorsearch.ClusterAutoRestartMessageMaintenanceWindow
databricks.sdk.service.vectorsearch.ClusterAutoRestartMessageMaintenanceWindowDayOfWeek
databricks.sdk.service.vectorsearch.ClusterAutoRestartMessageMaintenanceWindowWeekDayBasedSchedule
databricks.sdk.service.vectorsearch.ClusterAutoRestartMessageMaintenanceWindowWeekDayFrequency
databricks.sdk.service.vectorsearch.ClusterAutoRestartMessageMaintenanceWindowWindowStartTime
databricks.sdk.service.vectorsearch.ComplianceStandard
databricks.sdk.service.vectorsearch.CspEnablement
databricks.sdk.service.vectorsearch.CspEnablementAccount
databricks.sdk.service.vectorsearch.CspEnablementAccountSetting
databricks.sdk.service.vectorsearch.CspEnablementSetting
databricks.sdk.service.vectorsearch.DeleteDefaultNamespaceRequest
databricks.sdk.service.vectorsearch.DeletePersonalComputeRequest
databricks.sdk.service.vectorsearch.DeleteRestrictWorkspaceAdminRequest
databricks.sdk.service.vectorsearch.EsmEnablement
databricks.sdk.service.vectorsearch.EsmEnablementAccount
databricks.sdk.service.vectorsearch.EsmEnablementAccountSetting
databricks.sdk.service.vectorsearch.EsmEnablementSetting
databricks.sdk.service.vectorsearch.GetAutomaticClusterUpdateRequest
databricks.sdk.service.vectorsearch.GetCspEnablementAccountRequest
databricks.sdk.service.vectorsearch.GetCspEnablementRequest
databricks.sdk.service.vectorsearch.GetDefaultNamespaceRequest
databricks.sdk.service.vectorsearch.GetEsmEnablementAccountRequest
databricks.sdk.service.vectorsearch.GetEsmEnablementRequest
databricks.sdk.service.vectorsearch.GetPersonalComputeRequest
databricks.sdk.service.vectorsearch.GetRestrictWorkspaceAdminRequest
databricks.sdk.service.vectorsearch.NccAwsStableIpRule
databricks.sdk.service.vectorsearch.UpdateAutomaticClusterUpdateSettingRequest
databricks.sdk.service.vectorsearch.UpdateCspEnablementAccountSettingRequest
databricks.sdk.service.vectorsearch.UpdateCspEnablementSettingRequest
databricks.sdk.service.vectorsearch.UpdateEsmEnablementAccountSettingRequest
databricks.sdk.service.vectorsearch.UpdateEsmEnablementSettingRequest
databricks.sdk.service.iam.PermissionMigrationRequest
databricks.sdk.service.iam.PermissionMigrationResponse
version
field fordatabricks.sdk.service.serving.AppManifest
todatabricks.sdk.service.serving.AnyValue
dataclass.delete_endpoint()
method for w.vector_search_endpoints workspace-level service with new required argument order.create_index()
method for w.vector_search_indexes workspace-level service with new required argument order.delete_data_vector_index()
method for w.vector_search_indexes workspace-level service with new required argument order.upsert_data_vector_index()
method for w.vector_search_indexes workspace-level service with new required argument order.endpoint_name
field fordatabricks.sdk.service.vectorsearch.CreateVectorIndexRequest
to be required.
delete_personal_compute_setting()
method for a.account_settings account-level service.get_personal_compute_setting()
method for a.account_settings account-level service.update_personal_compute_setting()
method for a.account_settings account-level service.delete_default_namespace_setting()
method for w.settings workspace-level service.delete_restrict_workspace_admins_setting()
method for w.settings workspace-level service.get_default_namespace_setting()
method for w.settings workspace-level service.get_restrict_workspace_admins_setting()
method for w.settings workspace-level service.update_default_namespace_setting()
method for w.settings workspace-level service.update_restrict_workspace_admins_setting()
method for w.settings workspace-level service.databricks.sdk.service.settings.DeleteDefaultNamespaceSettingRequest
dataclass.databricks.sdk.service.settings.DeletePersonalComputeSettingRequest
dataclass.databricks.sdk.service.settings.DeleteRestrictWorkspaceAdminsSettingRequest
dataclass.databricks.sdk.service.settings.GetDefaultNamespaceSettingRequest
dataclass.databricks.sdk.service.settings.GetPersonalComputeSettingRequest
dataclass.databricks.sdk.service.settings.GetRestrictWorkspaceAdminsSettingRequest
dataclass.databricks.sdk.service.vectorsearch.EmbeddingConfig
dataclass.embedding_config
field fordatabricks.sdk.service.vectorsearch.EmbeddingSourceColumn
.name
field fordatabricks.sdk.service.vectorsearch.DeleteDataVectorIndexRequest
.name
field fordatabricks.sdk.service.vectorsearch.DeleteEndpointRequest
.planning_phases
field fordatabricks.sdk.service.sql.QueryMetrics
.delta_sync_vector_index_spec
field fordatabricks.sdk.service.vectorsearch.VectorIndex
.direct_access_vector_index_spec
field fordatabricks.sdk.service.vectorsearch.VectorIndex
.
- Added tokei.rs badge (#567).
- Update SDK to latest OpenAPI spec (#576).
- Add integration tests for Files API (#552).
- Fix integer deserialization for headers (#553).
- Support subservices (#559).
- Distinguish between empty types and fields that can take any value (#561).
OpenAPI SHA: 1026b998b14fba1b8317528f47778240dc4e9a5d, Date: 2024-03-06
Major Changes:
- Updated behaviour for raw parameter in
ApiClient.do()
method. The raw data is not returned directly anymore, but as part of a dict with thecontents
key. This dict will also contain response headers if returned by the API.
Internal Changes:
- Add get_workspace_id to docgen blocklist (#549).
- Support HEAD operation and response Headers (#547).
API Changes:
- Changed
delete()
,get()
andupdate()
methods for w.connections workspace-level service with new required argument order. - Changed
update()
method for w.lakehouse_monitors workspace-level service with new required argument order. - Changed
delete()
,get()
andupdate()
methods for w.volumes workspace-level service with new required argument order. - Added w.online_tables workspace-level service.
- Renamed
name_arg
field toname
for the following dataclasses:databricks.sdk.service.catalog.DeleteConnectionRequest
,databricks.sdk.service.catalog.GetConnectionRequest
,databricks.sdk.service.catalog.UpdateConnection
,databricks.sdk.service.sharing.DeleteCleanRoomRequest
,databricks.sdk.service.sharing.GetCleanRoomRequest
anddatabricks.sdk.service.sharing.UpdateCleanRoom
. - Removed
full_name_arg
field fordatabricks.sdk.service.catalog.DeleteVolumeRequest
. - Added
name
field fordatabricks.sdk.service.catalog.DeleteVolumeRequest
. - Added
max_results
field fordatabricks.sdk.service.catalog.ListVolumesRequest
. - Added
page_token
field fordatabricks.sdk.service.catalog.ListVolumesRequest
. - Added
next_page_token
field fordatabricks.sdk.service.catalog.ListVolumesResponseContent
. - Removed
full_name_arg
field fordatabricks.sdk.service.catalog.ReadVolumeRequest
. - Added
name
field fordatabricks.sdk.service.catalog.ReadVolumeRequest
. - Removed
assets_dir
field fordatabricks.sdk.service.catalog.UpdateMonitor
. - Removed
full_name_arg
field fordatabricks.sdk.service.catalog.UpdateVolumeRequestContent
. - Added
name
field fordatabricks.sdk.service.catalog.UpdateVolumeRequestContent
. - Added the following catalog dataclasses:
ContinuousUpdateStatus
,DeleteOnlineTableRequest
,FailedStatus
,GetOnlineTableRequest
,OnlineTable
,OnlineTableSpec
,OnlineTableState
,OnlineTableStatus
,PipelineProgress
,ProvisioningStatus
,TriggeredUpdateStatus
andViewData
. - Added
get_directory_metadata()
method for w.files workspace-level service. - Added
get_metadata()
method for w.files workspace-level service. - Added
content_length
,content_type
andlast_modified
fields fordatabricks.sdk.service.files.DownloadResponse
. - Added the following files dataclasses:
FileSize
,GetDirectoryMetadataRequest
,GetMetadataRequest
,GetMetadataResponse
andLastModifiedHttpDate
. - Removed
trigger_history
field fordatabricks.sdk.service.jobs.Job
. - Removed
databricks.sdk.service.jobs.TriggerEvaluation
dataclass. - Removed
databricks.sdk.service.jobs.TriggerHistory
dataclass. - Added
table
field fordatabricks.sdk.service.jobs.TriggerSettings
. - Added
databricks.sdk.service.jobs.Condition
dataclass. - Added
databricks.sdk.service.jobs.TableTriggerConfiguration
dataclass. - Removed
config
field fordatabricks.sdk.service.serving.ExternalModel
. - Removed
databricks.sdk.service.serving.ExternalModelConfig
dataclass. Fields moved todatabricks.sdk.service.serving.ExternalModel
. - Added
max_provisioned_throughput
andmin_provisioned_throughput
fields fordatabricks.sdk.service.serving.ServedEntityInput
. - Added
max_provisioned_throughput
andmin_provisioned_throughput
fields fordatabricks.sdk.service.serving.ServedEntityOutput
. - Changed
delete()
method for w.clean_rooms workspace-level service with new required argument order. - Changed
get()
method for w.clean_rooms workspace-level service with new required argument order. - Changed
update()
method for w.clean_rooms workspace-level service with new required argument order. - Added
enum_options
field fordatabricks.sdk.service.sql.Parameter
. - Added
multi_values_options
field fordatabricks.sdk.service.sql.Parameter
. - Added
query_id
field fordatabricks.sdk.service.sql.Parameter
. - Added
databricks.sdk.service.sql.MultiValuesOptions
dataclass.
OpenAPI SHA: cdd76a98a4fca7008572b3a94427566dd286c63b, Date: 2024-02-19
New features:
- Add
get_workspace_id()
to WorkspaceClient (#537).
Bugfix:
- Create a deepcopy of config when creating workspace client from account client (#542). This fixes an issue where
AccountClient
instances would stop working after callingget_workspace_client()
.
- Construct workspace client from account client (#527).
- Enabled Databricks OAuth also for Azure and GCP (#526).
- Do not terminate listing for token-based pagination resources on empty response (#530).
- Renamed
databricks.sdk.errors.mapping
todatabricks.sdk.errors.platform
(#522). - Added Union to content (2nd) parameter in upload function (#493).
- Fixed WorkspaceConf.get_status and WorkspaceConf.set_status (#525).
Additions:
- Added the following dataclasses:
databricks.sdk.service.catalog.CancelRefreshRequest
databricks.sdk.service.catalog.GetRefreshRequest
databricks.sdk.service.catalog.ListRefreshesRequest
databricks.sdk.service.catalog.MonitorRefreshInfo
databricks.sdk.service.catalog.MonitorRefreshInfoState
databricks.sdk.service.catalog.RunRefreshRequest
databricks.sdk.service.compute.Adlsgen2Info
databricks.sdk.service.compute.GcsStorageInfo
databricks.sdk.service.files.CreateDirectoryRequest
databricks.sdk.service.files.DeleteDirectoryRequest
databricks.sdk.service.files.DirectoryEntry
databricks.sdk.service.files.ListDirectoryContentsRequest
databricks.sdk.service.files.ListDirectoryResponse
databricks.sdk.service.files.PageToken
databricks.sdk.service.jobs.ForEachStats
databricks.sdk.service.jobs.ForEachTask
databricks.sdk.service.jobs.ForEachTaskErrorMessageStats
databricks.sdk.service.jobs.ForEachTaskTaskRunStats
databricks.sdk.service.jobs.RunForEachTask
databricks.sdk.service.pipelines.PipelineClusterAutoscale
databricks.sdk.service.pipelines.PipelineClusterAutoscaleMode
databricks.sdk.service.settings.DeleteDefaultNamespaceSettingRequest
databricks.sdk.service.settings.DeleteDefaultNamespaceSettingResponse
databricks.sdk.service.settings.DeleteRestrictWorkspaceAdminsSettingRequest
databricks.sdk.service.settings.DeleteRestrictWorkspaceAdminsSettingResponse
databricks.sdk.service.settings.GetDefaultNamespaceSettingRequest
databricks.sdk.service.settings.GetPersonalComputeSettingRequest
databricks.sdk.service.settings.GetRestrictWorkspaceAdminsSettingRequest
databricks.sdk.service.settings.RestrictWorkspaceAdminsMessage
databricks.sdk.service.settings.RestrictWorkspaceAdminsMessageStatus
databricks.sdk.service.settings.RestrictWorkspaceAdminsSetting
databricks.sdk.service.settings.UpdateDefaultNamespaceSettingRequest
databricks.sdk.service.settings.UpdateRestrictWorkspaceAdminsSettingRequest
- Added
cancel_refresh()
,get_refresh()
,list_refreshes()
andrun_refresh()
method for w.lakehouse_monitors workspace-level service. - Added
use_preemptible_executors
field fordatabricks.sdk.service.compute.GcpAttributes
. - Added
zone_id
field fordatabricks.sdk.service.compute.GcpAttributes
. - Added
abfss
andgcs
field fordatabricks.sdk.service.compute.InitScriptInfo
. - Added
create_directory()
,delete_directory()
andlist_directory_contents()
method for w.files workspace-level service. - Added
source
field fordatabricks.sdk.service.jobs.DbtTask
anddatabricks.sdk.service.jobs.SqlTaskFile
. - Added
for_each_task
field fordatabricks.sdk.service.jobs.RunTask
,databricks.sdk.service.jobs.SubmitTask
anddatabricks.sdk.service.jobs.Task
. - Added
field_mask
field fordatabricks.sdk.service.settings.UpdatePersonalComputeSettingRequest
. - Added
delta_sync_index_spec
field fordatabricks.sdk.service.vectorsearch.CreateVectorIndexRequest
. - Added
file_type
field fordatabricks.sdk.service.workspace.ExportResponse
. - Added
resource_id
field fordatabricks.sdk.service.workspace.ObjectInfo
. - Added
delete_default_namespace_setting()
,delete_restrict_workspace_admins_setting()
,get_default_namespace_setting()
,get_restrict_workspace_admins_setting()
,update_default_namespace_setting()
andupdate_restrict_workspace_admins_setting()
method for w.settings workspace-level service. - Added
get_personal_compute_setting()
method for a.account_settings account-level service.
Removals:
- Removed the following dataclasses:
databricks.sdk.service.settings.ReadDefaultWorkspaceNamespaceRequest
databricks.sdk.service.settings.ReadPersonalComputeSettingRequest
databricks.sdk.service.settings.UpdateDefaultWorkspaceNamespaceRequest
databricks.sdk.service.settings.DeleteDefaultWorkspaceNamespaceRequest
databricks.sdk.service.settings.DeleteDefaultWorkspaceNamespaceResponse
databricks.sdk.service.pipelines.ResetRequest
- Removed the following methods:
get_status()
for w.files workspace-level service.reset()
for w.pipelines workspace-level service.delete_default_workspace_namespace()
for w.settings workspace-level service.read_default_workspace_namespace()
for w.settings workspace-level service.update_default_workspace_namespace()
for w.settings workspace-level service.read_personal_compute_setting()
for a.account_settings account-level service.
- Removed
name
field fordatabricks.sdk.service.catalog.UpdateConnection
,databricks.sdk.service.catalog.UpdateMetastore
,databricks.sdk.service.catalog.UpdateRegisteredModelRequest
.databricks.sdk.service.catalog.UpdateSchema
anddatabricks.sdk.service.catalog.UpdateVolumeRequestContent
. - Removed
delta_sync_vector_index_spec
field fordatabricks.sdk.service.vectorsearch.CreateVectorIndexRequest
.
Changes:
- Changed
max_workers
andmin_workers
field fordatabricks.sdk.service.compute.AutoScale
to no longer be required. - Changed
destination
field fordatabricks.sdk.service.compute.DbfsStorageInfo
,databricks.sdk.service.compute.LocalFileInfo
,databricks.sdk.service.compute.S3StorageInfo
,databricks.sdk.service.compute.VolumesStorageInfo
anddatabricks.sdk.service.compute.WorkspaceStorageInfo
to be required. - Changed
clients
field fordatabricks.sdk.service.compute.WorkloadType
to be required. - Changed
allow_missing
andsetting
field fordatabricks.sdk.service.settings.UpdatePersonalComputeSettingRequest
to be required. - Changed
etag
field fordatabricks.sdk.service.settings.DeletePersonalComputeSettingRequest
to no longer be required. - Changed
autoscale
field fordatabricks.sdk.service.pipelines.PipelineCluster
todatabricks.sdk.service.pipelines.PipelineClusterAutoscale
dataclass. - Changed
delete_personal_compute_setting()
andupdate_personal_compute_setting()
method for a.account_settings account-level service with new required argument order.
- Generate SDK (#536).
- Use fake clock for faster unit tests (#533).
- Skip test_get_workspace_client in Azure and GCP (#531).
- Regenerate from the tip of main (#524).
- Search for both databricks.exe and databricks binaries in windows (#517).
OpenAPI SHA: 6b897bc95b23abed8b9f5eff0e6b8ec034046180, Date: 2024-02-08
Bugfixes:
- Fix Databricks OAuth M2M on Azure (#513).
Other noteworthy changes:
- Use
[]
instead ofNone
as default list value for deserialising responses (#361). - Support dev and staging workspaces (#514).
API Changes:
- Added
exists()
method for w.tables workspace-level service. - Added w.lakehouse_monitors workspace-level service.
- Added the following dataclasses:
databricks.sdk.service.catalog.CreateMonitor
,databricks.sdk.service.catalog.DeleteLakehouseMonitorRequest
,databricks.sdk.service.catalog.ExistsRequest
,databricks.sdk.service.catalog.GetLakehouseMonitorRequest
,databricks.sdk.service.catalog.MonitorCronSchedule
,databricks.sdk.service.catalog.MonitorCronSchedulePauseStatus
,databricks.sdk.service.catalog.MonitorCustomMetric
,databricks.sdk.service.catalog.MonitorCustomMetricType
,databricks.sdk.service.catalog.MonitorDataClassificationConfig
,databricks.sdk.service.catalog.MonitorDestinations
,databricks.sdk.service.catalog.MonitorInferenceLogProfileType
,databricks.sdk.service.catalog.MonitorInferenceLogProfileTypeProblemType
,databricks.sdk.service.catalog.MonitorInfo
,databricks.sdk.service.catalog.MonitorInfoStatus
,databricks.sdk.service.catalog.MonitorNotificationsConfig
,databricks.sdk.service.catalog.MonitorTimeSeriesProfileType
,databricks.sdk.service.catalog.TableExistsResponse
anddatabricks.sdk.service.catalog.UpdateMonitor
. - Changed
create_obo_token()
method for w.token_management workspace-level service with new required argument order. - Changed
get()
method for w.token_management workspace-level service to returndatabricks.sdk.service.settings.GetTokenResponse
dataclass. - Changed
lifetime_seconds
field fordatabricks.sdk.service.settings.CreateOboTokenRequest
to no longer be required. - Added
databricks.sdk.service.settings.GetTokenResponse
dataclass.
OpenAPI SHA: e05401ed5dd4974c5333d737ec308a7d451f749f, Date: 2024-01-23
- Use covariant type for
@retried(on=[...])
(#486). - Configure request timeout using existing parameter from Config (#489).
- Make contents of
__init__.py
equal across projects (#488). - Update SDK to Latest OpenAPI Specification (#501).
Note: This release contains breaking changes, please see below for more details.
API Changes:
- [Breaking] Changed
list()
method for w.tokens workspace-level service to returndatabricks.sdk.service.settings.ListPublicTokensResponse
dataclass. - Changed
list()
method for w.external_locations workspace-level service to require request ofdatabricks.sdk.service.catalog.ListExternalLocationsRequest
dataclass and w.storage_credentials workspace-level service to require request ofdatabricks.sdk.service.catalog.ListStorageCredentialsRequest
dataclass. - Added
next_page_token
field fordatabricks.sdk.service.catalog.ListExternalLocationsResponse
,databricks.sdk.service.catalog.ListFunctionsResponse
,databricks.sdk.service.catalog.ListSchemasResponse
anddatabricks.sdk.service.catalog.ListStorageCredentialsResponse
. - Added
max_results
field fordatabricks.sdk.service.catalog.ListFunctionsRequest
anddatabricks.sdk.service.catalog.ListSchemasRequest
. - Added
page_token
field fordatabricks.sdk.service.catalog.ListFunctionsRequest
anddatabricks.sdk.service.catalog.ListSchemasRequest
. - Added
omit_columns
field fordatabricks.sdk.service.catalog.ListTablesRequest
. - Added
omit_properties
field fordatabricks.sdk.service.catalog.ListTablesRequest
. - Added
init_scripts
field fordatabricks.sdk.service.pipelines.PipelineCluster
. - Added
validate_only
field fordatabricks.sdk.service.pipelines.StartUpdate
anddatabricks.sdk.service.pipelines.UpdateInfo
. - Changed
create()
method for w.dashboards workspace-level service . New request type isdatabricks.sdk.service.sql.DashboardPostContent
dataclass. - Added
update()
method for w.dashboards workspace-level service. - Added
http_headers
field fordatabricks.sdk.service.sql.ExternalLink
. - Added
run_as_role
field fordatabricks.sdk.service.sql.QueryEditContent
. - Added package:
databricks.sdk.service.dashboards
anddatabricks.sdk.service.vectorsearch
. - Added dataclass:
databricks.sdk.service.catalog.ListExternalLocationsRequest
,databricks.sdk.service.catalog.ListStorageCredentialsRequest
,databricks.sdk.service.settings.ListPublicTokensResponse
,databricks.sdk.service.sql.DashboardEditContent
anddatabricks.sdk.service.sql.DashboardPostContent
. - Removed dataclass:
databricks.sdk.service.catalog.TableConstraintList
anddatabricks.sdk.service.sql.CreateDashboardRequest
.
OpenAPI SHA: 0e0d4cbe87193e36c73b8b2be3b0dd0f1b013e00, Date: 2024-01-10
- Sort imports in service template (#479).
- Add
py.typed
to support PEP-561 (#483). - Fixed bug in
@retried
when exception subtypes were not respected (#484). - Make
WorkspaceClient
andAccountClient
more friendly with autospeccing (#480).
API Changes:
- Added
azure_workspace_info
field fordatabricks.sdk.service.provisioning.Workspace
. - Added
databricks.sdk.service.provisioning.AzureWorkspaceInfo
dataclass. - Changed
update_config()
method for w.serving_endpoints workspace-level service with new required argument order. - Changed
served_entities
field fordatabricks.sdk.service.serving.EndpointCoreConfigInput
to no longer be required. - Changed
create()
method for a.account_ip_access_lists account-level service with new required argument order. - Changed
replace()
method for a.account_ip_access_lists account-level service with new required argument order. - Changed
update()
method for a.account_ip_access_lists account-level service with new required argument order. - Changed
create()
method for w.ip_access_lists workspace-level service with new required argument order. - Changed
replace()
method for w.ip_access_lists workspace-level service with new required argument order. - Changed
update()
method for w.ip_access_lists workspace-level service with new required argument order. - Changed
ip_addresses
field fordatabricks.sdk.service.settings.CreateIpAccessList
to no longer be required. - Changed
ip_addresses
field fordatabricks.sdk.service.settings.ReplaceIpAccessList
to no longer be required. - Removed
list_id
field fordatabricks.sdk.service.settings.ReplaceIpAccessList
. - Changed
enabled
field fordatabricks.sdk.service.settings.UpdateIpAccessList
to no longer be required. - Changed
ip_addresses
field fordatabricks.sdk.service.settings.UpdateIpAccessList
to no longer be required. - Changed
label
field fordatabricks.sdk.service.settings.UpdateIpAccessList
to no longer be required. - Removed
list_id
field fordatabricks.sdk.service.settings.UpdateIpAccessList
. - Changed
list_type
field fordatabricks.sdk.service.settings.UpdateIpAccessList
to no longer be required.
OpenAPI SHA: d3853c8dee5806d04da2ae8910f273ffb35719a5, Date: 2023-12-14
Bugfixes:
Other changes:
- Updated GCP OAuth Readme (#464).
- Reference Documentation Refactoring (#467).
- Installed local library when generating docs (#469).
- Fixed readme links in pypi (#472).
- Updated a note for installing Python SDK on Databricks Runtime 13.1+ (#474).
- Updated GCP auth readme (#470).
API Changes:
- Changed
update()
method for w.connections workspace-level service with new required argument order. - Added
cloudflare_api_token
field fordatabricks.sdk.service.catalog.CreateStorageCredential
. - Added
cloudflare_api_token
field fordatabricks.sdk.service.catalog.StorageCredentialInfo
. - Changed
name
field fordatabricks.sdk.service.catalog.UpdateCatalog
to be required. - Added
new_name
field fordatabricks.sdk.service.catalog.UpdateCatalog
. - Changed
name
field fordatabricks.sdk.service.catalog.UpdateConnection
to no longer be required. - Added
new_name
field fordatabricks.sdk.service.catalog.UpdateConnection
. - Changed
name
field fordatabricks.sdk.service.catalog.UpdateExternalLocation
to be required. - Added
new_name
field fordatabricks.sdk.service.catalog.UpdateExternalLocation
. - Added
new_name
field fordatabricks.sdk.service.catalog.UpdateMetastore
. - Added
new_name
field fordatabricks.sdk.service.catalog.UpdateRegisteredModelRequest
. - Added
new_name
field fordatabricks.sdk.service.catalog.UpdateSchema
. - Changed
name
field fordatabricks.sdk.service.catalog.UpdateStorageCredential
to be required. - Added
cloudflare_api_token
field fordatabricks.sdk.service.catalog.UpdateStorageCredential
. - Added
new_name
field fordatabricks.sdk.service.catalog.UpdateStorageCredential
. - Added
new_name
field fordatabricks.sdk.service.catalog.UpdateVolumeRequestContent
. - Added
cloudflare_api_token
field fordatabricks.sdk.service.catalog.ValidateStorageCredential
. - Added
databricks.sdk.service.catalog.CloudflareApiToken
dataclass. - Removed
continuous
field fordatabricks.sdk.service.jobs.BaseRun
. - Removed
continuous
field fordatabricks.sdk.service.jobs.Run
. - Changed
job_parameters
field fordatabricks.sdk.service.jobs.RunJobTask
todatabricks.sdk.service.jobs.ParamPairs
dataclass. - Added
run_if
field fordatabricks.sdk.service.jobs.SubmitTask
. - Added
run_job_task
field fordatabricks.sdk.service.jobs.SubmitTask
. - Changed
update_config()
method for w.serving_endpoints workspace-level service with new required argument order. - Added
put()
method for w.serving_endpoints workspace-level service. - Added
rate_limits
field fordatabricks.sdk.service.serving.CreateServingEndpoint
. - Changed
served_models
field fordatabricks.sdk.service.serving.EndpointCoreConfigInput
to no longer be required. - Added
auto_capture_config
field fordatabricks.sdk.service.serving.EndpointCoreConfigInput
. - Added
served_entities
field fordatabricks.sdk.service.serving.EndpointCoreConfigInput
. - Added
auto_capture_config
field fordatabricks.sdk.service.serving.EndpointCoreConfigOutput
. - Added
served_entities
field fordatabricks.sdk.service.serving.EndpointCoreConfigOutput
. - Added
served_entities
field fordatabricks.sdk.service.serving.EndpointCoreConfigSummary
. - Added
served_entities
field fordatabricks.sdk.service.serving.EndpointPendingConfig
. - Added
extra_params
field fordatabricks.sdk.service.serving.QueryEndpointInput
. - Added
input
field fordatabricks.sdk.service.serving.QueryEndpointInput
. - Added
max_tokens
field fordatabricks.sdk.service.serving.QueryEndpointInput
. - Added
messages
field fordatabricks.sdk.service.serving.QueryEndpointInput
. - Added
n
field fordatabricks.sdk.service.serving.QueryEndpointInput
. - Added
prompt
field fordatabricks.sdk.service.serving.QueryEndpointInput
. - Added
stop
field fordatabricks.sdk.service.serving.QueryEndpointInput
. - Added
stream
field fordatabricks.sdk.service.serving.QueryEndpointInput
. - Added
temperature
field fordatabricks.sdk.service.serving.QueryEndpointInput
. - Changed
predictions
field fordatabricks.sdk.service.serving.QueryEndpointResponse
to no longer be required. - Added
choices
field fordatabricks.sdk.service.serving.QueryEndpointResponse
. - Added
created
field fordatabricks.sdk.service.serving.QueryEndpointResponse
. - Added
data
field fordatabricks.sdk.service.serving.QueryEndpointResponse
. - Added
id
field fordatabricks.sdk.service.serving.QueryEndpointResponse
. - Added
model
field fordatabricks.sdk.service.serving.QueryEndpointResponse
. - Added
object
field fordatabricks.sdk.service.serving.QueryEndpointResponse
. - Added
usage
field fordatabricks.sdk.service.serving.QueryEndpointResponse
. - Changed
workload_size
field fordatabricks.sdk.service.serving.ServedModelInput
todatabricks.sdk.service.serving.ServedModelInputWorkloadSize
dataclass. - Changed
workload_type
field fordatabricks.sdk.service.serving.ServedModelInput
todatabricks.sdk.service.serving.ServedModelInputWorkloadType
dataclass. - Added
task
field fordatabricks.sdk.service.serving.ServingEndpoint
. - Added
task
field fordatabricks.sdk.service.serving.ServingEndpointDetailed
. - Added
databricks.sdk.service.serving.Ai21LabsConfig
dataclass. - Added
databricks.sdk.service.serving.AnthropicConfig
dataclass. - Added
databricks.sdk.service.serving.AutoCaptureConfigInput
dataclass. - Added
databricks.sdk.service.serving.AutoCaptureConfigOutput
dataclass. - Added
databricks.sdk.service.serving.AutoCaptureState
dataclass. - Added
databricks.sdk.service.serving.AwsBedrockConfig
dataclass. - Added
databricks.sdk.service.serving.AwsBedrockConfigBedrockProvider
dataclass. - Added
databricks.sdk.service.serving.ChatMessage
dataclass. - Added
databricks.sdk.service.serving.ChatMessageRole
dataclass. - Added
databricks.sdk.service.serving.CohereConfig
dataclass. - Added
databricks.sdk.service.serving.DatabricksModelServingConfig
dataclass. - Added
databricks.sdk.service.serving.EmbeddingsV1ResponseEmbeddingElement
dataclass. - Added
databricks.sdk.service.serving.EmbeddingsV1ResponseEmbeddingElementObject
dataclass. - Added
databricks.sdk.service.serving.ExternalModel
dataclass. - Added
databricks.sdk.service.serving.ExternalModelConfig
dataclass. - Added
databricks.sdk.service.serving.ExternalModelProvider
dataclass. - Added
databricks.sdk.service.serving.ExternalModelUsageElement
dataclass. - Added
databricks.sdk.service.serving.FoundationModel
dataclass. - Added
databricks.sdk.service.serving.OpenAiConfig
dataclass. - Added
databricks.sdk.service.serving.PaLmConfig
dataclass. - Added
databricks.sdk.service.serving.PayloadTable
dataclass. - Added
databricks.sdk.service.serving.PutRequest
dataclass. - Added
databricks.sdk.service.serving.PutResponse
dataclass. - Added
databricks.sdk.service.serving.QueryEndpointResponseObject
dataclass. - Added
databricks.sdk.service.serving.RateLimit
dataclass. - Added
databricks.sdk.service.serving.RateLimitKey
dataclass. - Added
databricks.sdk.service.serving.RateLimitRenewalPeriod
dataclass. - Added
databricks.sdk.service.serving.ServedEntityInput
dataclass. - Added
databricks.sdk.service.serving.ServedEntityOutput
dataclass. - Added
databricks.sdk.service.serving.ServedEntitySpec
dataclass. - Added
databricks.sdk.service.serving.ServedModelInputWorkloadSize
dataclass. - Added
databricks.sdk.service.serving.ServedModelInputWorkloadType
dataclass. - Added
databricks.sdk.service.serving.V1ResponseChoiceElement
dataclass. - Removed a.account_network_policy account-level service.
- Removed
databricks.sdk.service.settings.AccountNetworkPolicyMessage
dataclass. - Removed
databricks.sdk.service.settings.DeleteAccountNetworkPolicyRequest
dataclass. - Removed
databricks.sdk.service.settings.DeleteAccountNetworkPolicyResponse
dataclass. - Removed
databricks.sdk.service.settings.ReadAccountNetworkPolicyRequest
dataclass. - Removed
databricks.sdk.service.settings.UpdateAccountNetworkPolicyRequest
dataclass. - Removed
name
field fordatabricks.sdk.service.sharing.UpdateCleanRoom
. - Changed
name
field fordatabricks.sdk.service.sharing.UpdateProvider
to be required. - Added
new_name
field fordatabricks.sdk.service.sharing.UpdateProvider
. - Changed
name
field fordatabricks.sdk.service.sharing.UpdateRecipient
to be required. - Added
new_name
field fordatabricks.sdk.service.sharing.UpdateRecipient
. - Changed
name
field fordatabricks.sdk.service.sharing.UpdateShare
to be required. - Added
new_name
field fordatabricks.sdk.service.sharing.UpdateShare
. - Added
statement_ids
field fordatabricks.sdk.service.sql.QueryFilter
. - Added
databricks.sdk.service.sql.StatementId
dataclass.
OpenAPI SHA: 63caa3cb0c05045e81d3dcf2451fa990d8670f36, Date: 2023-12-12
Major changes:
- GCP Auth is now supported in the Python SDK. To use Google credentials-based authentication, specify your Default Application Credentials in the
GOOGLE_CREDENTIALS
environment variable or correspondinggoogle_credentials
parameter inConfig
or the client constructors. You may provide either the path to the file containing your credentials or the credentials themselves serialized as JSON. To use Google impersonation, specify the service principal to impersonate in theDATABRICKS_GOOGLE_SERVICE_ACCOUNT
environment variable or the correspondinggoogle_service_account
parameter inConfig
or the client constructors. See #444 for the changes.
Bug fixes:
- Fix flask app example (#445).
- Fix deserialization of repeated enums (#450, #452).
- Capture stdout and stderr separately when calling Azure CLI (#460).
Other changes:
- Change the name of retries logger to
databricks.sdk.retries
(#453).
API Changes:
- Added
pipeline_id
field fordatabricks.sdk.service.catalog.TableInfo
. - Added
enable_predictive_optimization
field fordatabricks.sdk.service.catalog.UpdateCatalog
anddatabricks.sdk.service.catalog.UpdateSchema
. - Removed
databricks.sdk.service.catalog.UpdatePredictiveOptimization
anddatabricks.sdk.service.catalog.UpdatePredictiveOptimizationResponse
dataclasses. - Removed
enable_optimization()
method for w.metastores workspace-level service. - Added
description
field fordatabricks.sdk.service.jobs.CreateJob
anddatabricks.sdk.service.jobs.JobSettings
. - Added
list_network_connectivity_configurations()
andlist_private_endpoint_rules()
methods for a.network_connectivity account-level service. - Added
databricks.sdk.service.settings.ListNccAzurePrivateEndpointRulesResponse
,databricks.sdk.service.settings.ListNetworkConnectivityConfigurationsRequest
,databricks.sdk.service.settings.ListNetworkConnectivityConfigurationsResponse
, anddatabricks.sdk.service.settings.ListPrivateEndpointRulesRequest
dataclasses.
Internal changes:
- Make ucws tests skipped when DATABRICKS_ACCOUNT_ID is present (#448).
OpenAPI SHA: 22f09783eb8a84d52026f856be3b2068f9498db3, Date: 2023-11-23 Dependency updates:
- Introduced "google-auth" dependency to support Google authentication.
- Introduce more specific exceptions, like
NotFound
,AlreadyExists
,BadRequest
,PermissionDenied
,InternalError
, and others (#376). This makes it easier to handle errors thrown by the Databricks API. Instead of catchingDatabricksError
and checking the error_code field, you can catch one of these subtypes ofDatabricksError
, which is more ergonomic and removes the need to rethrow exceptions that you don't want to catch. For example:
try:
return (self._ws
.permissions
.get(object_type, object_id))
except DatabricksError as e:
if e.error_code in [
"RESOURCE_DOES_NOT_EXIST",
"RESOURCE_NOT_FOUND",
"PERMISSION_DENIED",
"FEATURE_DISABLED",
"BAD_REQUEST"]:
logger.warning(...)
return None
raise RetryableError(...) from e
can be replaced with
try:
return (self._ws
.permissions
.get(object_type, object_id))
except PermissionDenied, FeatureDisabled:
logger.warning(...)
return None
except NotFound:
raise RetryableError(...)
- Paginate all SCIM list requests in the SDK (#440). This change ensures that SCIM list() APIs use a default limit of 100 resources, leveraging SCIM's offset + limit pagination to batch requests to the Databricks API.
- Added taskValues support in remoteDbUtils (#406).
- Added more detailed error message on default credentials not found error (#419).
- Request management token via Azure CLI only for Service Principals and not human users (#408).
API Changes:
- Fixed
create()
method for w.functions workspace-level service and correspondingdatabricks.sdk.service.catalog.CreateFunction
anddatabricks.sdk.service.catalog.FunctionInfo
dataclasses. - Changed
create()
method for w.metastores workspace-level service with new required argument order. - Changed
storage_root
field fordatabricks.sdk.service.catalog.CreateMetastore
to be optional. - Added
skip_validation
field fordatabricks.sdk.service.catalog.UpdateExternalLocation
. - Added
libraries
field fordatabricks.sdk.service.compute.CreatePolicy
,databricks.sdk.service.compute.EditPolicy
anddatabricks.sdk.service.compute.Policy
. - Added
init_scripts
field fordatabricks.sdk.service.compute.EventDetails
. - Added
file
field fordatabricks.sdk.service.compute.InitScriptInfo
. - Added
zone_id
field fordatabricks.sdk.service.compute.InstancePoolGcpAttributes
. - Added several dataclasses related to init scripts.
- Added
databricks.sdk.service.compute.LocalFileInfo
dataclass. - Replaced
ui_state
field withedit_mode
fordatabricks.sdk.service.jobs.CreateJob
anddatabricks.sdk.service.jobs.JobSettings
. - Replaced
databricks.sdk.service.jobs.CreateJobUiState
dataclass withdatabricks.sdk.service.jobs.CreateJobEditMode
. - Added
include_resolved_values
field fordatabricks.sdk.service.jobs.GetRunRequest
. - Replaced
databricks.sdk.service.jobs.JobSettingsUiState
dataclass withdatabricks.sdk.service.jobs.JobSettingsEditMode
. - Removed a.o_auth_enrollment account-level service. This was only used to aid in OAuth enablement during the public preview of OAuth. OAuth is now enabled for all AWS E2 accounts, so usage of this API is no longer needed.
- Added
network_connectivity_config_id
field fordatabricks.sdk.service.provisioning.UpdateWorkspaceRequest
. - Added a.network_connectivity account-level service.
- Added
string_shared_as
field fordatabricks.sdk.service.sharing.SharedDataObject
.
Internal changes:
- Added regression question to issue template (#414).
- Made test_auth no longer fail if you have a default profile setup (#426).
OpenAPI SHA: d136ad0541f036372601bad9a4382db06c3c912d, Date: 2023-11-14
- Retry on all 429 and 503, even when missing Retry-After header (#402).
- Add support for tokenless authentication for GitHub Actions configured with OpenID Connect with Azure User Managed Identity (or Service Principal) (#385).
- Reduce redundant warning messages in azure-cli credential provider (#410).
API Changes:
- Added
attributes
,count
,excluded_attributes
,filter
,sort_by
,sort_order
, andstart_index
fields fordatabricks.sdk.service.iam.GetAccountUserRequest
anddatabricks.sdk.service.iam.GetUserRequest
. - Added
schemas
field fordatabricks.sdk.service.iam.Group
,databricks.sdk.service.iam.ListGroupsResponse
,databricks.sdk.service.iam.ListServicePrincipalResponse
,databricks.sdk.service.iam.ListUsersResponse
,databricks.sdk.service.iam.ServicePrincipal
, anddatabricks.sdk.service.iam.User
. - Added
databricks.sdk.service.iam.GetSortOrder
,databricks.sdk.service.iam.GroupSchema
,databricks.sdk.service.iam.ListResponseSchema
,databricks.sdk.service.iam.ServicePrincipalSchema
, anddatabricks.sdk.service.iam.UserSchema
dataclasses. - Added
webhook_notifications
field fordatabricks.sdk.service.jobs.SubmitTask
. - Added w.apps workspace-level service and related dataclasses
- Added a.account_network_policy account-level service and related dataclasses.
OpenAPI SHA: 5903bb39137fd76ac384b2044e425f9c56840e00, Date: 2023-10-23
- Added Python 3.12 to project classifiers (#381).
- Fix serialization issues for generated resources (#382).
- Fix select spark version in staging (#388).
- Adjust token expiry window to 40 seconds because of Azure (#392).
- Add retries on
RPC token bucket limit has been exceeded
(#395). - Regenerate to fix template drift (#398).
- Update OpenAPI spec to 12 Oct 2023 (#399).
Internal:
API Changes:
- Changed
download()
method for a.billable_usage account-level service to start returningdatabricks.sdk.service.billing.DownloadResponse
dataclass. - Added
databricks.sdk.service.billing.DownloadResponse
dataclass. - Changed
delete()
method for a.account_storage_credentials account-level service with new required argument order. - Changed
get()
method for a.account_storage_credentials account-level service with new required argument order. - Changed
update()
method for a.account_storage_credentials account-level service with new required argument order. - Added
get_bindings()
method for w.workspace_bindings workspace-level service. - Added
update_bindings()
method for w.workspace_bindings workspace-level service. - Removed
name
field fordatabricks.sdk.service.catalog.AccountsUpdateStorageCredential
. - Added
storage_credential_name
field fordatabricks.sdk.service.catalog.AccountsUpdateStorageCredential
. - Removed
name
field fordatabricks.sdk.service.catalog.DeleteAccountStorageCredentialRequest
. - Added
storage_credential_name
field fordatabricks.sdk.service.catalog.DeleteAccountStorageCredentialRequest
. - Removed
name
field fordatabricks.sdk.service.catalog.GetAccountStorageCredentialRequest
. - Added
storage_credential_name
field fordatabricks.sdk.service.catalog.GetAccountStorageCredentialRequest
. - Added
owner
field fordatabricks.sdk.service.catalog.UpdateConnection
. - Added
databricks.sdk.service.catalog.GetBindingsRequest
dataclass. - Added
databricks.sdk.service.catalog.UpdateWorkspaceBindingsParameters
dataclass. - Added
databricks.sdk.service.catalog.WorkspaceBinding
dataclass. - Added
databricks.sdk.service.catalog.WorkspaceBindingBindingType
dataclass. - Added
databricks.sdk.service.catalog.WorkspaceBindingsResponse
dataclass. - Added
spec
field fordatabricks.sdk.service.compute.ClusterDetails
. - Added
apply_policy_default_values
field fordatabricks.sdk.service.compute.ClusterSpec
. - Removed
aws_attributes
field fordatabricks.sdk.service.compute.EditInstancePool
. - Removed
azure_attributes
field fordatabricks.sdk.service.compute.EditInstancePool
. - Removed
disk_spec
field fordatabricks.sdk.service.compute.EditInstancePool
. - Removed
enable_elastic_disk
field fordatabricks.sdk.service.compute.EditInstancePool
. - Removed
gcp_attributes
field fordatabricks.sdk.service.compute.EditInstancePool
. - Removed
preloaded_docker_images
field fordatabricks.sdk.service.compute.EditInstancePool
. - Removed
preloaded_spark_versions
field fordatabricks.sdk.service.compute.EditInstancePool
. - Added
deployment
field fordatabricks.sdk.service.jobs.CreateJob
. - Added
ui_state
field fordatabricks.sdk.service.jobs.CreateJob
. - Added
deployment
field fordatabricks.sdk.service.jobs.JobSettings
. - Added
ui_state
field fordatabricks.sdk.service.jobs.JobSettings
. - Removed
condition_task
field fordatabricks.sdk.service.jobs.RunOutput
. - Added
webhook_notifications
field fordatabricks.sdk.service.jobs.Task
. - Added
databricks.sdk.service.jobs.CreateJobUiState
dataclass. - Added
databricks.sdk.service.jobs.JobDeployment
dataclass. - Added
databricks.sdk.service.jobs.JobDeploymentKind
dataclass. - Added
databricks.sdk.service.jobs.JobSettingsUiState
dataclass. - Added
workload_type
field fordatabricks.sdk.service.serving.ServedModelInput
. - Added
workload_type
field fordatabricks.sdk.service.serving.ServedModelOutput
. - Removed a.account_network_policy account-level service.
- Changed
list()
method for w.ip_access_lists workspace-level service to returndatabricks.sdk.service.settings.ListIpAccessListResponse
dataclass. - Removed
databricks.sdk.service.settings.AccountNetworkPolicyMessage
dataclass. - Removed
databricks.sdk.service.settings.DeleteAccountNetworkPolicyRequest
dataclass. - Removed
databricks.sdk.service.settings.DeleteAccountNetworkPolicyResponse
dataclass. - Removed
ip_access_lists
field fordatabricks.sdk.service.settings.GetIpAccessListResponse
. - Added
ip_access_list
field fordatabricks.sdk.service.settings.GetIpAccessListResponse
. - Removed
databricks.sdk.service.settings.ReadAccountNetworkPolicyRequest
dataclass. - Removed
databricks.sdk.service.settings.UpdateAccountNetworkPolicyRequest
dataclass. - Added
databricks.sdk.service.settings.ListIpAccessListResponse
dataclass.
OpenAPI SHA: 493a76554afd3afdd15dc858773d01643f80352a, Date: 2023-10-12
- Respect
retry_timeout_seconds
config setting and align retry implementation with Go SDK (#337).
Breaking API Changes:
- Changed
list()
method for a.account_metastore_assignments account-level service to returndatabricks.sdk.service.catalog.ListAccountMetastoreAssignmentsResponse
dataclass. - Removed
owner
field fordatabricks.sdk.service.catalog.CreateConnection
. Instead, use theowner
field ofUpdateConnection
. - Removed
options
field fordatabricks.sdk.service.catalog.UpdateCatalog
. - Changed
job_parameters
field fordatabricks.sdk.service.jobs.RunNow
todatabricks.sdk.service.jobs.ParamPairs
dataclass. - Changed
query()
method for w.serving_endpoints workspace-level service . New request type isdatabricks.sdk.service.serving.QueryEndpointInput
dataclass. - Renamed
databricks.sdk.service.serving.QueryRequest
dataclass toQueryEndpointInput
. - Changed
list()
method for w.clean_rooms workspace-level service to require request ofdatabricks.sdk.service.sharing.ListCleanRoomsRequest
dataclass.
API Changes:
- Added
databricks.sdk.service.catalog.ListAccountMetastoreAssignmentsResponse
dataclass. - Added
job_parameters
field fordatabricks.sdk.service.jobs.RepairRun
. - Added
job_parameters
field fordatabricks.sdk.service.jobs.RunParameters
. - Added
notifications
field fordatabricks.sdk.service.pipelines.CreatePipeline
. - Added
notifications
field fordatabricks.sdk.service.pipelines.EditPipeline
. - Added
notifications
field fordatabricks.sdk.service.pipelines.PipelineSpec
. - Added
databricks.sdk.service.pipelines.Notifications
dataclass. - Added
databricks.sdk.service.serving.DataframeSplitInput
dataclass. - Added w.settings workspace-level service.
- Added
databricks.sdk.service.settings.DefaultNamespaceSetting
dataclass. - Added
databricks.sdk.service.settings.DeleteDefaultWorkspaceNamespaceRequest
dataclass. - Added
databricks.sdk.service.settings.DeleteDefaultWorkspaceNamespaceResponse
dataclass. - Added
databricks.sdk.service.settings.ReadDefaultWorkspaceNamespaceRequest
dataclass. - Added
databricks.sdk.service.settings.StringMessage
dataclass. - Added
databricks.sdk.service.settings.UpdateDefaultWorkspaceNamespaceRequest
dataclass. - Added
next_page_token
field fordatabricks.sdk.service.sharing.ListCleanRoomsResponse
. - Added
databricks.sdk.service.sharing.ListCleanRoomsRequest
dataclass.
OpenAPI SHA: bcbf6e851e3d82fd910940910dd31c10c059746c, Date: 2023-10-02
- Don't try to import runtime_auth when not in runtime (#327).
- Handled Azure authentication when WorkspaceResourceID is provided (#328).
- Added ErrorInfo to API errors (#347).
- Fixed eager default argument evaluation in
DatabricksError
(#353). - Fixed code generation of primitive types (#354).
- Updated SDK to changes in OpenAPI specification (#355).
API Changes:
- Changed
list()
method for a.account_metastore_assignments account-level service to returndatabricks.sdk.service.catalog.WorkspaceIdList
dataclass. - Changed
artifact_matchers
field fordatabricks.sdk.service.catalog.ArtifactAllowlistInfo
todatabricks.sdk.service.catalog.ArtifactMatcherList
dataclass. - Changed
artifact_matchers
field fordatabricks.sdk.service.catalog.SetArtifactAllowlist
todatabricks.sdk.service.catalog.ArtifactMatcherList
dataclass. - Added
databricks.sdk.service.catalog.WorkspaceId
dataclass. - Changed
cancel_all_runs()
method for w.jobs workspace-level service with new required argument order. - Changed
job_id
field fordatabricks.sdk.service.jobs.CancelAllRuns
to no longer be required. - Added
all_queued_runs
field fordatabricks.sdk.service.jobs.CancelAllRuns
. - Added
queue
field fordatabricks.sdk.service.jobs.CreateJob
. - Added
queue
field fordatabricks.sdk.service.jobs.JobSettings
. - Added
queue
field fordatabricks.sdk.service.jobs.RunNow
. - Added
queue_reason
field fordatabricks.sdk.service.jobs.RunState
. - Added
queue_duration
field fordatabricks.sdk.service.jobs.RunTask
. - Added
queue
field fordatabricks.sdk.service.jobs.SubmitRun
. - Added
databricks.sdk.service.jobs.QueueSettings
dataclass. - Added a.o_auth_published_apps 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 workspace-level service. - Added
tags
field fordatabricks.sdk.service.serving.CreateServingEndpoint
. - Added
tags
field fordatabricks.sdk.service.serving.ServingEndpoint
. - Added
tags
field fordatabricks.sdk.service.serving.ServingEndpointDetailed
. - Added
databricks.sdk.service.serving.EndpointTag
dataclass. - Added
databricks.sdk.service.serving.PatchServingEndpointTags
dataclass. - Added w.credentials_manager 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 workspace-level service with new required argument order. - Added
empty_result_state
field fordatabricks.sdk.service.sql.AlertOptions
. - Removed
databricks.sdk.service.sql.ChunkInfo
dataclass. - Changed
on_wait_timeout
field fordatabricks.sdk.service.sql.ExecuteStatementRequest
todatabricks.sdk.service.sql.ExecuteStatementRequestOnWaitTimeout
dataclass. - Changed
statement
field fordatabricks.sdk.service.sql.ExecuteStatementRequest
to be required. - Changed
warehouse_id
field fordatabricks.sdk.service.sql.ExecuteStatementRequest
to be required. - Changed
chunks
field fordatabricks.sdk.service.sql.ResultManifest
todatabricks.sdk.service.sql.BaseChunkInfoList
dataclass. - Added
truncated
field fordatabricks.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
- Fixed redeclared
test_streaming_response_read_partial
test (#335). - Fixed
Incorrect type
warning (#336). - Add notebook installation instructions (#334).
API Changes:
- Renamed permissions APIs to no longer include the service name, for example:
get_job_permission_levels
->get_permission_levels
get_job_permissions
->get_permissions
set_job_permissions
->set_permissions
update_job_permissions
->update_permissions
- Changed
create()
method for w.volumes workspace-level service with new required argument order. - Added
supports_elastic_disk
field fordatabricks.sdk.service.compute.NodeType
. - Changed
create()
method for w.dashboards workspace-level service with new required argument order. - Added w.dashboard_widgets workspace-level service.
- Added w.query_visualizations workspace-level service.
- Changed
name
field fordatabricks.sdk.service.sql.CreateDashboardRequest
to be required. - Added
dashboard_filters_enabled
field fordatabricks.sdk.service.sql.CreateDashboardRequest
. - Added
run_as_role
field fordatabricks.sdk.service.sql.CreateDashboardRequest
. - Added
run_as_role
field fordatabricks.sdk.service.sql.Query
. - Added
run_as_role
field fordatabricks.sdk.service.sql.QueryPostContent
. - Removed
dashboard_id
field fordatabricks.sdk.service.sql.WidgetOptions
. - Changed
position
field fordatabricks.sdk.service.sql.WidgetOptions
todatabricks.sdk.service.sql.WidgetPosition
dataclass. - Removed
text
field fordatabricks.sdk.service.sql.WidgetOptions
. - Added
description
field fordatabricks.sdk.service.sql.WidgetOptions
. - Added
title
field fordatabricks.sdk.service.sql.WidgetOptions
. - Added
databricks.sdk.service.sql.CreateQueryVisualizationRequest
dataclass. - Added
databricks.sdk.service.sql.CreateWidget
dataclass. - Added
databricks.sdk.service.sql.DeleteDashboardWidgetRequest
dataclass. - Added
databricks.sdk.service.sql.DeleteQueryVisualizationRequest
dataclass. - Added
databricks.sdk.service.sql.RunAsRole
dataclass. - Added
databricks.sdk.service.sql.WidgetPosition
dataclass.
OpenAPI SHA: 09a7fa63d9ae243e5407941f200960ca14d48b07, Date: 2023-09-04
- Improve file download performance (#319).
- Added support for GZIP'ed streaming responses (#306).
- Added support for per-method request headers to ApiClient (#302).
- Added support for BinaryIO for streaming request and response bodies (#303).
- Added a link to the API reference (#311).
- Check workspaceUrl explicitly in runtime repl auth (#312).
Breaking Changes:
- Added support for the Files API (using application/octet-stream) in OpenAPI. The names of parameters have changed from
src
tocontents
, andw.files.download()
now returns afiles.DownloadResponse
, whosecontents
field is aBinaryIO
object. When reading a download, the user must explicitly close this object to allow the connection to return to the connection pool.
Breaking API Changes:
- Changed
list()
method for a.account_storage_credentials account-level service to returndatabricks.sdk.service.catalog.StorageCredentialInfoList
dataclass. - Removed w.securable_tags workspace-level service and all associated classes.
- Removed w.subentity_tags workspace-level service and all associated classes.
- Removed
instance_pool_fleet_attributes
field fordatabricks.sdk.service.compute.CreateInstancePool
. - Removed
instance_pool_fleet_attributes
field fordatabricks.sdk.service.compute.EditInstancePool
. - Removed
databricks.sdk.service.compute.FleetLaunchTemplateOverride
dataclass. - Removed
databricks.sdk.service.compute.FleetOnDemandOption
dataclass. - Removed
databricks.sdk.service.compute.FleetOnDemandOptionAllocationStrategy
dataclass. - Removed
databricks.sdk.service.compute.FleetSpotOption
dataclass. - Removed
databricks.sdk.service.compute.FleetSpotOptionAllocationStrategy
dataclass. - Removed
instance_pool_fleet_attributes
field fordatabricks.sdk.service.compute.GetInstancePool
. - Removed
instance_pool_fleet_attributes
field fordatabricks.sdk.service.compute.InstancePoolAndStats
. - Removed
databricks.sdk.service.compute.InstancePoolFleetAttributes
dataclass. - Changed
get_by_name()
method for w.experiments workspace-level service to returndatabricks.sdk.service.ml.GetExperimentResponse
dataclass. - Changed
get_experiment()
method for w.experiments workspace-level service to returndatabricks.sdk.service.ml.GetExperimentResponse
dataclass. - Renamed
databricks.sdk.service.ml.GetExperimentByNameResponse
dataclass todatabricks.sdk.service.ml.GetExperimentResponse
. - Renamed
databricks.sdk.service.catalog.ProvisioningState
todatabricks.sdk.service.catalog.ProvisioningInfoState
dataclass.
API Changes:
- Added w.model_versions workspace-level service.
- Added w.registered_models workspace-level service.
- Added
browse_only
field fordatabricks.sdk.service.catalog.CatalogInfo
. - Added
full_name
field fordatabricks.sdk.service.catalog.CatalogInfo
. - Added
provisioning_info
field fordatabricks.sdk.service.catalog.CatalogInfo
. - Added
securable_kind
field fordatabricks.sdk.service.catalog.CatalogInfo
. - Added
securable_type
field fordatabricks.sdk.service.catalog.CatalogInfo
. - Added
provisioning_info
field fordatabricks.sdk.service.catalog.ConnectionInfo
. - Added
options
field fordatabricks.sdk.service.catalog.CreateCatalog
. - Added
options
field fordatabricks.sdk.service.catalog.UpdateCatalog
. - Added
databricks.sdk.service.catalog.CatalogInfoSecurableKind
dataclass. - Added
databricks.sdk.service.catalog.CreateRegisteredModelRequest
dataclass. - Added
databricks.sdk.service.catalog.DeleteAliasRequest
dataclass. - Added
databricks.sdk.service.catalog.DeleteModelVersionRequest
dataclass. - Added
databricks.sdk.service.catalog.DeleteRegisteredModelRequest
dataclass. - Added
databricks.sdk.service.catalog.GetByAliasRequest
dataclass. - Added
databricks.sdk.service.catalog.GetModelVersionRequest
dataclass. - Added
databricks.sdk.service.catalog.GetRegisteredModelRequest
dataclass. - Added
databricks.sdk.service.catalog.ListModelVersionsRequest
dataclass. - Added
databricks.sdk.service.catalog.ListModelVersionsResponse
dataclass. - Added
databricks.sdk.service.catalog.ListRegisteredModelsRequest
dataclass. - Added
databricks.sdk.service.catalog.ListRegisteredModelsResponse
dataclass. - Added
databricks.sdk.service.catalog.ModelVersionInfo
dataclass. - Added
databricks.sdk.service.catalog.ModelVersionInfoStatus
dataclass. - Added
databricks.sdk.service.catalog.ProvisioningInfo
dataclass. - Added
databricks.sdk.service.catalog.RegisteredModelAlias
dataclass. - Added
databricks.sdk.service.catalog.RegisteredModelInfo
dataclass. - Added
databricks.sdk.service.catalog.SetRegisteredModelAliasRequest
dataclass. - Added
databricks.sdk.service.catalog.UpdateModelVersionRequest
dataclass. - Added
databricks.sdk.service.catalog.UpdateRegisteredModelRequest
dataclass. - Added
volumes
field fordatabricks.sdk.service.compute.InitScriptInfo
. - Added
databricks.sdk.service.compute.VolumesStorageInfo
dataclass. - Added w.files workspace-level service.
- Added
databricks.sdk.service.files.DeleteFileRequest
dataclass. - Added
databricks.sdk.service.files.DownloadRequest
dataclass. - Added
databricks.sdk.service.files.DownloadResponse
dataclass. - Added
databricks.sdk.service.files.UploadRequest
dataclass. - Added
custom_tags
field fordatabricks.sdk.service.provisioning.CreateWorkspaceRequest
. - Added
custom_tags
field fordatabricks.sdk.service.provisioning.UpdateWorkspaceRequest
. - Added
custom_tags
field fordatabricks.sdk.service.provisioning.Workspace
. - Added
databricks.sdk.service.provisioning.CustomTags
dataclass. - Added
parameters
field fordatabricks.sdk.service.sql.ExecuteStatementRequest
. - Added
row_limit
field fordatabricks.sdk.service.sql.ExecuteStatementRequest
. - Added
databricks.sdk.service.sql.StatementParameterListItem
dataclass.
SDK Internal Changes:
- Skip Graviton runtimes for testing notebook native auth (#294).
- Fixed integration tests to not use beta DBR (#309).
OpenAPI SHA: 5d0ccbb790d341eae8e85321a685a9e9e2d5bf24, Date: 2023-08-29
- Added collection of Databricks Runtime versions used together with Python SDK (#287).
- Applied attribute transformer when reading in attributes from the environment (#293).
- Made notebook-native auth work with more configurations of the Databricks Runtime (#285).
- Added retry in
w.clusters.ensure_cluster_is_running(id)
when cluster is simultaneously started by two different processes. (#283). - Set necessary headers when authenticating via Azure CLI (#290).
- Updated classifier to
Development Status :: 4 - Beta
(#291). - Introduced Artifact Allowlist, Securable Tags, and Subentity Tags services.
- Introduced DeleteRuns and RestoreRuns methods in the Experiments API.
- Introduced the GetSecret method in the Secrets API.
- Renamed Auto Maintenance to Predictive Optimization.
New Services:
- Added w.artifact_allowlists workspace-level service.
- Added w.securable_tags workspace-level service.
- Added w.subentity_tags workspace-level service.
- Added
databricks.sdk.service.catalog.ArtifactAllowlistInfo
dataclass. - Added
databricks.sdk.service.catalog.ArtifactMatcher
dataclass. - Added
databricks.sdk.service.catalog.ArtifactType
dataclass. - Added
databricks.sdk.service.catalog.GetArtifactAllowlistRequest
dataclass. - Added
databricks.sdk.service.catalog.ListSecurableTagsRequest
dataclass. - Added
databricks.sdk.service.catalog.ListSecurableType
dataclass. - Added
databricks.sdk.service.catalog.ListSubentityTagsRequest
dataclass. - Added
databricks.sdk.service.catalog.MatchType
dataclass. - Added
databricks.sdk.service.catalog.SetArtifactAllowlist
dataclass. - Added
databricks.sdk.service.catalog.TagChanges
dataclass. - Added
databricks.sdk.service.catalog.TagKeyValuePair
dataclass. - Added
databricks.sdk.service.catalog.TagSecurable
dataclass. - Added
databricks.sdk.service.catalog.TagSecurableAssignment
dataclass. - Added
databricks.sdk.service.catalog.TagSecurableAssignmentsList
dataclass. - Added
databricks.sdk.service.catalog.TagSubentity
dataclass. - Added
databricks.sdk.service.catalog.TagSubentityAssignmentsList
dataclass. - Added
databricks.sdk.service.catalog.TagsSubentityAssignment
dataclass. - Added
databricks.sdk.service.catalog.UpdateSecurableType
dataclass. - Added
databricks.sdk.service.catalog.UpdateTags
dataclass.
New APIs:
- Added
delete_runs()
method for w.experiments workspace-level service. - Added
restore_runs()
method for w.experiments workspace-level service. - Added
databricks.sdk.service.ml.DeleteRuns
dataclass. - Added
databricks.sdk.service.ml.DeleteRunsResponse
dataclass. - Added
databricks.sdk.service.ml.RestoreRuns
dataclass. - Added
databricks.sdk.service.ml.RestoreRunsResponse
dataclass. - Added
get_secret()
method for w.secrets workspace-level service. - Added
databricks.sdk.service.workspace.GetSecretRequest
dataclass. - Added
databricks.sdk.service.workspace.GetSecretResponse
dataclass.
Service Renames:
- Removed
effective_auto_maintenance_flag
field fordatabricks.sdk.service.catalog.CatalogInfo
. - Removed
enable_auto_maintenance
field fordatabricks.sdk.service.catalog.CatalogInfo
. - Added
effective_predictive_optimization_flag
field fordatabricks.sdk.service.catalog.CatalogInfo
. - Added
enable_predictive_optimization
field fordatabricks.sdk.service.catalog.CatalogInfo
. - Removed
databricks.sdk.service.catalog.EffectiveAutoMaintenanceFlag
dataclass. - Removed
databricks.sdk.service.catalog.EffectiveAutoMaintenanceFlagInheritedFromType
dataclass. - Removed
databricks.sdk.service.catalog.EnableAutoMaintenance
dataclass. - Removed
effective_auto_maintenance_flag
field fordatabricks.sdk.service.catalog.SchemaInfo
. - Removed
enable_auto_maintenance
field fordatabricks.sdk.service.catalog.SchemaInfo
. - Added
effective_predictive_optimization_flag
field fordatabricks.sdk.service.catalog.SchemaInfo
. - Added
enable_predictive_optimization
field fordatabricks.sdk.service.catalog.SchemaInfo
. - Removed
effective_auto_maintenance_flag
field fordatabricks.sdk.service.catalog.TableInfo
. - Removed
enable_auto_maintenance
field fordatabricks.sdk.service.catalog.TableInfo
. - Added
effective_predictive_optimization_flag
field fordatabricks.sdk.service.catalog.TableInfo
. - Added
enable_predictive_optimization
field fordatabricks.sdk.service.catalog.TableInfo
. - Added
databricks.sdk.service.catalog.EffectivePredictiveOptimizationFlag
dataclass. - Added
databricks.sdk.service.catalog.EffectivePredictiveOptimizationFlagInheritedFromType
dataclass. - Added
databricks.sdk.service.catalog.EnablePredictiveOptimization
dataclass.
OpenAPI SHA: beff621d7b3e1d59244e2e34fc53a496f310e130, Date: 2023-08-17
- Added
connection_pool_size
configuration property (preview) (#276). - Fixed OAuth M2M corner case in
WorkspaceClient
whereDATABRICKS_ACCOUNT_ID
is present in the environment (#273).
API Changes:
- Changed
create()
method for a.account_storage_credentials account-level service to returndatabricks.sdk.service.catalog.AccountsStorageCredentialInfo
dataclass. - Changed
get()
method for a.account_storage_credentials account-level service to returndatabricks.sdk.service.catalog.AccountsStorageCredentialInfo
dataclass. - Changed
update()
method for a.account_storage_credentials account-level service to returndatabricks.sdk.service.catalog.AccountsStorageCredentialInfo
dataclass. - Changed
create()
method for w.connections workspace-level service with new required argument order. - Changed
update()
method for w.connections workspace-level service with new required argument order. - Removed
options_kvpairs
field fordatabricks.sdk.service.catalog.ConnectionInfo
. - Removed
properties_kvpairs
field fordatabricks.sdk.service.catalog.ConnectionInfo
. - Added
options
field fordatabricks.sdk.service.catalog.ConnectionInfo
. - Added
properties
field fordatabricks.sdk.service.catalog.ConnectionInfo
. - Added
provisioning_state
field fordatabricks.sdk.service.catalog.ConnectionInfo
. - Added
securable_kind
field fordatabricks.sdk.service.catalog.ConnectionInfo
. - Added
securable_type
field fordatabricks.sdk.service.catalog.ConnectionInfo
. - Removed
options_kvpairs
field fordatabricks.sdk.service.catalog.CreateConnection
. - Removed
properties_kvpairs
field fordatabricks.sdk.service.catalog.CreateConnection
. - Added
options
field fordatabricks.sdk.service.catalog.CreateConnection
. - Added
properties
field fordatabricks.sdk.service.catalog.CreateConnection
. - Changed
algorithm
field fordatabricks.sdk.service.catalog.SseEncryptionDetails
to no longer be required. - Removed
options_kvpairs
field fordatabricks.sdk.service.catalog.UpdateConnection
. - Added
options
field fordatabricks.sdk.service.catalog.UpdateConnection
. - Added
databricks.sdk.service.catalog.AccountsStorageCredentialInfo
dataclass. - Added
databricks.sdk.service.catalog.ConnectionInfoSecurableKind
dataclass. - Added
databricks.sdk.service.catalog.ProvisioningState
dataclass. - Added
data_security_mode
field fordatabricks.sdk.service.compute.CreateCluster
. - Added
docker_image
field fordatabricks.sdk.service.compute.CreateCluster
. - Added
single_user_name
field fordatabricks.sdk.service.compute.CreateCluster
. - Removed
schema
field fordatabricks.sdk.service.iam.PartialUpdate
. - Added
schemas
field fordatabricks.sdk.service.iam.PartialUpdate
.
OpenAPI SHA: 1e3533f94335f0e6c5d9262bc1fea95b3ddcb0e1, Date: 2023-08-11
To simplify documentation and management of object permissions, this release features a major reorganization of how permissions APIs are structured in the SDK. Rather than using a single permissions.get() API for all services, each service supporting permissions has its own permissions APIs. Follow these steps to migrate to the current SDK:
- Change
w.permissions.get()
andw.permissions.get_by_request_object_id_and_request_object_type()
tow.<Service>.get_<Service>_permissions()
- Change
w.permissions.get_permission_levels()
tow.<Service>.get_<Service>_permission_levels()
- Change
w.permissions.set()
tow.<Service>.set_<Service>_permissions()
- Change
w.permissions.update()
tow.<Service>.update_<Service>_permissions()
API Changes:
- Added
get_cluster_policy_permission_levels()
method for w.cluster_policies workspace-level service. - Added
get_cluster_policy_permissions()
method for w.cluster_policies workspace-level service. - Added
set_cluster_policy_permissions()
method for w.cluster_policies workspace-level service. - Added
update_cluster_policy_permissions()
method for w.cluster_policies workspace-level service. - Added
get_cluster_permission_levels()
method for w.clusters workspace-level service. - Added
get_cluster_permissions()
method for w.clusters workspace-level service. - Added
set_cluster_permissions()
method for w.clusters workspace-level service. - Added
update_cluster_permissions()
method for w.clusters workspace-level service. - Added
get_instance_pool_permission_levels()
method for w.instance_pools workspace-level service. - Added
get_instance_pool_permissions()
method for w.instance_pools workspace-level service. - Added
set_instance_pool_permissions()
method for w.instance_pools workspace-level service. - Added
update_instance_pool_permissions()
method for w.instance_pools workspace-level service. - Added
databricks.sdk.service.compute.ClusterAccessControlRequest
dataclass. - Added
databricks.sdk.service.compute.ClusterAccessControlResponse
dataclass. - Added
databricks.sdk.service.compute.ClusterPermission
dataclass. - Added
databricks.sdk.service.compute.ClusterPermissionLevel
dataclass. - Added
databricks.sdk.service.compute.ClusterPermissions
dataclass. - Added
databricks.sdk.service.compute.ClusterPermissionsDescription
dataclass. - Added
databricks.sdk.service.compute.ClusterPermissionsRequest
dataclass. - Added
databricks.sdk.service.compute.ClusterPolicyAccessControlRequest
dataclass. - Added
databricks.sdk.service.compute.ClusterPolicyAccessControlResponse
dataclass. - Added
databricks.sdk.service.compute.ClusterPolicyPermission
dataclass. - Added
databricks.sdk.service.compute.ClusterPolicyPermissionLevel
dataclass. - Added
databricks.sdk.service.compute.ClusterPolicyPermissions
dataclass. - Added
databricks.sdk.service.compute.ClusterPolicyPermissionsDescription
dataclass. - Added
databricks.sdk.service.compute.ClusterPolicyPermissionsRequest
dataclass. - Added
databricks.sdk.service.compute.GetClusterPermissionLevelsRequest
dataclass. - Added
databricks.sdk.service.compute.GetClusterPermissionLevelsResponse
dataclass. - Added
databricks.sdk.service.compute.GetClusterPermissionsRequest
dataclass. - Added
databricks.sdk.service.compute.GetClusterPolicyPermissionLevelsRequest
dataclass. - Added
databricks.sdk.service.compute.GetClusterPolicyPermissionLevelsResponse
dataclass. - Added
databricks.sdk.service.compute.GetClusterPolicyPermissionsRequest
dataclass. - Added
databricks.sdk.service.compute.GetInstancePoolPermissionLevelsRequest
dataclass. - Added
databricks.sdk.service.compute.GetInstancePoolPermissionLevelsResponse
dataclass. - Added
databricks.sdk.service.compute.GetInstancePoolPermissionsRequest
dataclass. - Added
databricks.sdk.service.compute.InstancePoolAccessControlRequest
dataclass. - Added
databricks.sdk.service.compute.InstancePoolAccessControlResponse
dataclass. - Added
databricks.sdk.service.compute.InstancePoolPermission
dataclass. - Added
databricks.sdk.service.compute.InstancePoolPermissionLevel
dataclass. - Added
databricks.sdk.service.compute.InstancePoolPermissions
dataclass. - Added
databricks.sdk.service.compute.InstancePoolPermissionsDescription
dataclass. - Added
databricks.sdk.service.compute.InstancePoolPermissionsRequest
dataclass. - Changed
set()
method for w.permissions workspace-level service to start returningdatabricks.sdk.service.iam.ObjectPermissions
dataclass. - Changed
update()
method for w.permissions workspace-level service to start returningdatabricks.sdk.service.iam.ObjectPermissions
dataclass. - Added
get_password_permission_levels()
method for w.users workspace-level service. - Added
get_password_permissions()
method for w.users workspace-level service. - Added
set_password_permissions()
method for w.users workspace-level service. - Added
update_password_permissions()
method for w.users workspace-level service. - Added
display_name
field fordatabricks.sdk.service.iam.AccessControlResponse
. - Changed
roles
field fordatabricks.sdk.service.iam.GetAssignableRolesForResourceResponse
todatabricks.sdk.service.iam.RoleList
dataclass. - Added
databricks.sdk.service.iam.GetPasswordPermissionLevelsResponse
dataclass. - Added
databricks.sdk.service.iam.PasswordAccessControlRequest
dataclass. - Added
databricks.sdk.service.iam.PasswordAccessControlResponse
dataclass. - Added
databricks.sdk.service.iam.PasswordPermission
dataclass. - Added
databricks.sdk.service.iam.PasswordPermissionLevel
dataclass. - Added
databricks.sdk.service.iam.PasswordPermissions
dataclass. - Added
databricks.sdk.service.iam.PasswordPermissionsDescription
dataclass. - Added
databricks.sdk.service.iam.PasswordPermissionsRequest
dataclass. - Added
databricks.sdk.service.iam.Role
dataclass. - Added
get_job_permission_levels()
method for w.jobs workspace-level service. - Added
get_job_permissions()
method for w.jobs workspace-level service. - Added
set_job_permissions()
method for w.jobs workspace-level service. - Added
update_job_permissions()
method for w.jobs workspace-level service. - Added
databricks.sdk.service.jobs.GetJobPermissionLevelsRequest
dataclass. - Added
databricks.sdk.service.jobs.GetJobPermissionLevelsResponse
dataclass. - Added
databricks.sdk.service.jobs.GetJobPermissionsRequest
dataclass. - Added
databricks.sdk.service.jobs.JobAccessControlRequest
dataclass. - Added
databricks.sdk.service.jobs.JobAccessControlResponse
dataclass. - Added
databricks.sdk.service.jobs.JobPermission
dataclass. - Added
databricks.sdk.service.jobs.JobPermissionLevel
dataclass. - Added
databricks.sdk.service.jobs.JobPermissions
dataclass. - Added
databricks.sdk.service.jobs.JobPermissionsDescription
dataclass. - Added
databricks.sdk.service.jobs.JobPermissionsRequest
dataclass. - Added
get_experiment_permission_levels()
method for w.experiments workspace-level service. - Added
get_experiment_permissions()
method for w.experiments workspace-level service. - Added
set_experiment_permissions()
method for w.experiments workspace-level service. - Added
update_experiment_permissions()
method for w.experiments workspace-level service. - Added
get_registered_model_permission_levels()
method for w.model_registry workspace-level service. - Added
get_registered_model_permissions()
method for w.model_registry workspace-level service. - Added
set_registered_model_permissions()
method for w.model_registry workspace-level service. - Added
update_registered_model_permissions()
method for w.model_registry workspace-level service. - Added
databricks.sdk.service.ml.ExperimentAccessControlRequest
dataclass. - Added
databricks.sdk.service.ml.ExperimentAccessControlResponse
dataclass. - Added
databricks.sdk.service.ml.ExperimentPermission
dataclass. - Added
databricks.sdk.service.ml.ExperimentPermissionLevel
dataclass. - Added
databricks.sdk.service.ml.ExperimentPermissions
dataclass. - Added
databricks.sdk.service.ml.ExperimentPermissionsDescription
dataclass. - Added
databricks.sdk.service.ml.ExperimentPermissionsRequest
dataclass. - Added
databricks.sdk.service.ml.GetExperimentPermissionLevelsRequest
dataclass. - Added
databricks.sdk.service.ml.GetExperimentPermissionLevelsResponse
dataclass. - Added
databricks.sdk.service.ml.GetExperimentPermissionsRequest
dataclass. - Added
databricks.sdk.service.ml.GetRegisteredModelPermissionLevelsRequest
dataclass. - Added
databricks.sdk.service.ml.GetRegisteredModelPermissionLevelsResponse
dataclass. - Added
databricks.sdk.service.ml.GetRegisteredModelPermissionsRequest
dataclass. - Added
databricks.sdk.service.ml.RegisteredModelAccessControlRequest
dataclass. - Added
databricks.sdk.service.ml.RegisteredModelAccessControlResponse
dataclass. - Added
databricks.sdk.service.ml.RegisteredModelPermission
dataclass. - Added
databricks.sdk.service.ml.RegisteredModelPermissionLevel
dataclass. - Added
databricks.sdk.service.ml.RegisteredModelPermissions
dataclass. - Added
databricks.sdk.service.ml.RegisteredModelPermissionsDescription
dataclass. - Added
databricks.sdk.service.ml.RegisteredModelPermissionsRequest
dataclass. - Added
scopes
field fordatabricks.sdk.service.oauth2.CreateCustomAppIntegration
. - Added
get_pipeline_permission_levels()
method for w.pipelines workspace-level service. - Added
get_pipeline_permissions()
method for w.pipelines workspace-level service. - Added
set_pipeline_permissions()
method for w.pipelines workspace-level service. - Added
update_pipeline_permissions()
method for w.pipelines workspace-level service. - Added
databricks.sdk.service.pipelines.GetPipelinePermissionLevelsRequest
dataclass. - Added
databricks.sdk.service.pipelines.GetPipelinePermissionLevelsResponse
dataclass. - Added
databricks.sdk.service.pipelines.GetPipelinePermissionsRequest
dataclass. - Added
databricks.sdk.service.pipelines.PipelineAccessControlRequest
dataclass. - Added
databricks.sdk.service.pipelines.PipelineAccessControlResponse
dataclass. - Added
databricks.sdk.service.pipelines.PipelinePermission
dataclass. - Added
databricks.sdk.service.pipelines.PipelinePermissionLevel
dataclass. - Added
databricks.sdk.service.pipelines.PipelinePermissions
dataclass. - Added
databricks.sdk.service.pipelines.PipelinePermissionsDescription
dataclass. - Added
databricks.sdk.service.pipelines.PipelinePermissionsRequest
dataclass. - Added
gcp_managed_network_config
field fordatabricks.sdk.service.provisioning.CreateWorkspaceRequest
. - Added
gke_config
field fordatabricks.sdk.service.provisioning.CreateWorkspaceRequest
. - Added
get_serving_endpoint_permission_levels()
method for w.serving_endpoints workspace-level service. - Added
get_serving_endpoint_permissions()
method for w.serving_endpoints workspace-level service. - Added
set_serving_endpoint_permissions()
method for w.serving_endpoints workspace-level service. - Added
update_serving_endpoint_permissions()
method for w.serving_endpoints workspace-level service. - Added
instance_profile_arn
field fordatabricks.sdk.service.serving.ServedModelInput
. - Added
instance_profile_arn
field fordatabricks.sdk.service.serving.ServedModelOutput
. - Added
databricks.sdk.service.serving.GetServingEndpointPermissionLevelsRequest
dataclass. - Added
databricks.sdk.service.serving.GetServingEndpointPermissionLevelsResponse
dataclass. - Added
databricks.sdk.service.serving.GetServingEndpointPermissionsRequest
dataclass. - Added
databricks.sdk.service.serving.ServingEndpointAccessControlRequest
dataclass. - Added
databricks.sdk.service.serving.ServingEndpointAccessControlResponse
dataclass. - Added
databricks.sdk.service.serving.ServingEndpointPermission
dataclass. - Added
databricks.sdk.service.serving.ServingEndpointPermissionLevel
dataclass. - Added
databricks.sdk.service.serving.ServingEndpointPermissions
dataclass. - Added
databricks.sdk.service.serving.ServingEndpointPermissionsDescription
dataclass. - Added
databricks.sdk.service.serving.ServingEndpointPermissionsRequest
dataclass. - Added
get_token_permission_levels()
method for w.token_management workspace-level service. - Added
get_token_permissions()
method for w.token_management workspace-level service. - Added
set_token_permissions()
method for w.token_management workspace-level service. - Added
update_token_permissions()
method for w.token_management workspace-level service. - Added
databricks.sdk.service.settings.GetTokenPermissionLevelsResponse
dataclass. - Added
databricks.sdk.service.settings.TokenAccessControlRequest
dataclass. - Added
databricks.sdk.service.settings.TokenAccessControlResponse
dataclass. - Added
databricks.sdk.service.settings.TokenPermission
dataclass. - Added
databricks.sdk.service.settings.TokenPermissionLevel
dataclass. - Added
databricks.sdk.service.settings.TokenPermissions
dataclass. - Added
databricks.sdk.service.settings.TokenPermissionsDescription
dataclass. - Added
databricks.sdk.service.settings.TokenPermissionsRequest
dataclass. - Added
get_warehouse_permission_levels()
method for w.warehouses workspace-level service. - Added
get_warehouse_permissions()
method for w.warehouses workspace-level service. - Added
set_warehouse_permissions()
method for w.warehouses workspace-level service. - Added
update_warehouse_permissions()
method for w.warehouses workspace-level service. - Added
can_subscribe_to_live_query
field fordatabricks.sdk.service.sql.QueryInfo
. - Removed
queued_overload_time_ms
field fordatabricks.sdk.service.sql.QueryMetrics
. - Removed
queued_provisioning_time_ms
field fordatabricks.sdk.service.sql.QueryMetrics
. - Removed
total_files_count
field fordatabricks.sdk.service.sql.QueryMetrics
. - Removed
total_partitions_count
field fordatabricks.sdk.service.sql.QueryMetrics
. - Added
metadata_time_ms
field fordatabricks.sdk.service.sql.QueryMetrics
. - Added
overloading_queue_start_timestamp
field fordatabricks.sdk.service.sql.QueryMetrics
. - Added
planning_phases
field fordatabricks.sdk.service.sql.QueryMetrics
. - Added
planning_time_ms
field fordatabricks.sdk.service.sql.QueryMetrics
. - Added
provisioning_queue_start_timestamp
field fordatabricks.sdk.service.sql.QueryMetrics
. - Added
pruned_bytes
field fordatabricks.sdk.service.sql.QueryMetrics
. - Added
pruned_files_count
field fordatabricks.sdk.service.sql.QueryMetrics
. - Added
query_compilation_start_timestamp
field fordatabricks.sdk.service.sql.QueryMetrics
. - Added
query_execution_time_ms
field fordatabricks.sdk.service.sql.QueryMetrics
. - Added
databricks.sdk.service.sql.GetWarehousePermissionLevelsRequest
dataclass. - Added
databricks.sdk.service.sql.GetWarehousePermissionLevelsResponse
dataclass. - Added
databricks.sdk.service.sql.GetWarehousePermissionsRequest
dataclass. - Added
databricks.sdk.service.sql.WarehouseAccessControlRequest
dataclass. - Added
databricks.sdk.service.sql.WarehouseAccessControlResponse
dataclass. - Added
databricks.sdk.service.sql.WarehousePermission
dataclass. - Added
databricks.sdk.service.sql.WarehousePermissionLevel
dataclass. - Added
databricks.sdk.service.sql.WarehousePermissions
dataclass. - Added
databricks.sdk.service.sql.WarehousePermissionsDescription
dataclass. - Added
databricks.sdk.service.sql.WarehousePermissionsRequest
dataclass. - Added
get_repo_permission_levels()
method for w.repos workspace-level service. - Added
get_repo_permissions()
method for w.repos workspace-level service. - Added
set_repo_permissions()
method for w.repos workspace-level service. - Added
update_repo_permissions()
method for w.repos workspace-level service. - Added
get_workspace_object_permission_levels()
method for w.workspace workspace-level service. - Added
get_workspace_object_permissions()
method for w.workspace workspace-level service. - Added
set_workspace_object_permissions()
method for w.workspace workspace-level service. - Added
update_workspace_object_permissions()
method for w.workspace workspace-level service. - Added
databricks.sdk.service.workspace.GetRepoPermissionLevelsRequest
dataclass. - Added
databricks.sdk.service.workspace.GetRepoPermissionLevelsResponse
dataclass. - Added
databricks.sdk.service.workspace.GetRepoPermissionsRequest
dataclass. - Added
databricks.sdk.service.workspace.GetWorkspaceObjectPermissionLevelsRequest
dataclass. - Added
databricks.sdk.service.workspace.GetWorkspaceObjectPermissionLevelsResponse
dataclass. - Added
databricks.sdk.service.workspace.GetWorkspaceObjectPermissionsRequest
dataclass. - Added
databricks.sdk.service.workspace.RepoAccessControlRequest
dataclass. - Added
databricks.sdk.service.workspace.RepoAccessControlResponse
dataclass. - Added
databricks.sdk.service.workspace.RepoPermission
dataclass. - Added
databricks.sdk.service.workspace.RepoPermissionLevel
dataclass. - Added
databricks.sdk.service.workspace.RepoPermissions
dataclass. - Added
databricks.sdk.service.workspace.RepoPermissionsDescription
dataclass. - Added
databricks.sdk.service.workspace.RepoPermissionsRequest
dataclass. - Added
databricks.sdk.service.workspace.WorkspaceObjectAccessControlRequest
dataclass. - Added
databricks.sdk.service.workspace.WorkspaceObjectAccessControlResponse
dataclass. - Added
databricks.sdk.service.workspace.WorkspaceObjectPermission
dataclass. - Added
databricks.sdk.service.workspace.WorkspaceObjectPermissionLevel
dataclass. - Added
databricks.sdk.service.workspace.WorkspaceObjectPermissions
dataclass. - Added
databricks.sdk.service.workspace.WorkspaceObjectPermissionsDescription
dataclass. - Added
databricks.sdk.service.workspace.WorkspaceObjectPermissionsRequest
dataclass.
OpenAPI SHA: 386b65ecdc825b9c3ed4aa7ca88e2e5baf9d87df, Date: 2023-08-07
- Added timeout to
w.clusters.ensure_cluster_running()
(#227). - Fixed
debug_headers
type hints forWorkspaceClient
andAccountClient
(#258). - Made dbutils typecast use a valid type variable (#259).
- Fixed serialization of lists of enum values (#248).
- Fixed examples that used incorrect keyword argument names. (databricks/databricks-sdk-go#560)
- Handled nested query parameters in ApiClient.do() (#249).
- Improved access of
__annotations__
(#239).
API Changes:
- Changed
create()
method for a.account_metastore_assignments account-level service to no longer returndatabricks.sdk.service.catalog.CreateMetastoreAssignmentsResponseItemList
dataclass. - Added
connection_name
field fordatabricks.sdk.service.catalog.CreateCatalog
. - Added
access_point
field fordatabricks.sdk.service.catalog.CreateExternalLocation
. - Added
encryption_details
field fordatabricks.sdk.service.catalog.CreateExternalLocation
. - Removed
databricks.sdk.service.catalog.CreateMetastoreAssignmentsResponseItem
dataclass. - Added
access_point
field fordatabricks.sdk.service.catalog.ExternalLocationInfo
. - Added
encryption_details
field fordatabricks.sdk.service.catalog.ExternalLocationInfo
. - Added
access_point
field fordatabricks.sdk.service.catalog.TableInfo
. - Added
encryption_details
field fordatabricks.sdk.service.catalog.TableInfo
. - Added
access_point
field fordatabricks.sdk.service.catalog.UpdateExternalLocation
. - Added
encryption_details
field fordatabricks.sdk.service.catalog.UpdateExternalLocation
. - Added
access_point
field fordatabricks.sdk.service.catalog.VolumeInfo
. - Added
encryption_details
field fordatabricks.sdk.service.catalog.VolumeInfo
. - Added
databricks.sdk.service.catalog.EncryptionDetails
dataclass. - Added
databricks.sdk.service.catalog.SseEncryptionDetails
dataclass. - Added
databricks.sdk.service.catalog.SseEncryptionDetailsAlgorithm
dataclass. - Added a.account_network_policy account-level service.
- Added
databricks.sdk.service.settings.AccountNetworkPolicyMessage
dataclass. - Added
databricks.sdk.service.settings.DeleteAccountNetworkPolicyRequest
dataclass. - Added
databricks.sdk.service.settings.DeleteAccountNetworkPolicyResponse
dataclass. - Added
databricks.sdk.service.settings.ReadAccountNetworkPolicyRequest
dataclass. - Added
databricks.sdk.service.settings.UpdateAccountNetworkPolicyRequest
dataclass.
OpenAPI SHA: a1b6c1ecfaab6635911d3c060a8dd797ac6b2d4d, Date: 2023-07-27
- Support older versions of
urllib3
and Databricks Runtime with regards toDEFAULT_METHOD_WHITELIST
change toDEFAULT_ALLOWED_METHODS
(#240).
- Add Issue Templates (#208).
- Fixed notebook native auth for jobs (#209).
- Replace
datatime.timedelta()
withdatetime.timedelta()
in codebase (#207). - Support dod in python sdk (#212).
- [DECO-1115] Add local implementation for
dbutils.widgets
(#93). - Fix error message, ExportFormat -> ImportFormat (#220).
- Regenerate Python SDK using recent OpenAPI Specification (#229).
- Make workspace client also return runtime dbutils when in dbr (#210).
- Use .ConstantName defining target enum states for waiters (#230).
- Fix enum deserialization (#234).
- Fix enum deserialization, take 2 (#235).
- Added toolchain configuration to
.codegen.json
(#236). - Make OpenAPI spec location configurable (#237).
- Rearrange imports in
databricks.sdk.runtime
to improve local editor experience (#219). - Updated account-level and workspace-level user management examples (#241).
API Changes:
- Removed
maintenance()
method for w.metastores workspace-level service. - Added
enable_optimization()
method for w.metastores workspace-level service. - Added
update()
method for w.tables workspace-level service. - Added
force
field fordatabricks.sdk.service.catalog.DeleteAccountMetastoreRequest
. - Added
force
field fordatabricks.sdk.service.catalog.DeleteAccountStorageCredentialRequest
. - Removed
databricks.sdk.service.catalog.UpdateAutoMaintenance
dataclass. - Removed
databricks.sdk.service.catalog.UpdateAutoMaintenanceResponse
dataclass. - Added
databricks.sdk.service.catalog.UpdatePredictiveOptimization
dataclass. - Added
databricks.sdk.service.catalog.UpdatePredictiveOptimizationResponse
dataclass. - Added
databricks.sdk.service.catalog.UpdateTableRequest
dataclass. - Added
schema
field fordatabricks.sdk.service.iam.PartialUpdate
. - Added
databricks.sdk.service.iam.PatchSchema
dataclass. - Added
trigger_info
field fordatabricks.sdk.service.jobs.BaseRun
. - Added
health
field fordatabricks.sdk.service.jobs.CreateJob
. - Added
job_source
field fordatabricks.sdk.service.jobs.GitSource
. - Added
on_duration_warning_threshold_exceeded
field fordatabricks.sdk.service.jobs.JobEmailNotifications
. - Added
health
field fordatabricks.sdk.service.jobs.JobSettings
. - Added
trigger_info
field fordatabricks.sdk.service.jobs.Run
. - Added
run_job_output
field fordatabricks.sdk.service.jobs.RunOutput
. - Added
run_job_task
field fordatabricks.sdk.service.jobs.RunTask
. - Added
email_notifications
field fordatabricks.sdk.service.jobs.SubmitRun
. - Added
health
field fordatabricks.sdk.service.jobs.SubmitRun
. - Added
email_notifications
field fordatabricks.sdk.service.jobs.SubmitTask
. - Added
health
field fordatabricks.sdk.service.jobs.SubmitTask
. - Added
notification_settings
field fordatabricks.sdk.service.jobs.SubmitTask
. - Added
health
field fordatabricks.sdk.service.jobs.Task
. - Added
run_job_task
field fordatabricks.sdk.service.jobs.Task
. - Added
on_duration_warning_threshold_exceeded
field fordatabricks.sdk.service.jobs.TaskEmailNotifications
. - Added
on_duration_warning_threshold_exceeded
field fordatabricks.sdk.service.jobs.WebhookNotifications
. - Added
databricks.sdk.service.jobs.JobSource
dataclass. - Added
databricks.sdk.service.jobs.JobSourceDirtyState
dataclass. - Added
databricks.sdk.service.jobs.JobsHealthMetric
dataclass. - Added
databricks.sdk.service.jobs.JobsHealthOperator
dataclass. - Added
databricks.sdk.service.jobs.JobsHealthRule
dataclass. - Added
databricks.sdk.service.jobs.JobsHealthRules
dataclass. - Added
databricks.sdk.service.jobs.RunJobOutput
dataclass. - Added
databricks.sdk.service.jobs.RunJobTask
dataclass. - Added
databricks.sdk.service.jobs.TriggerInfo
dataclass. - Added
databricks.sdk.service.jobs.WebhookNotificationsOnDurationWarningThresholdExceededItem
dataclass. - Removed
whl
field fordatabricks.sdk.service.pipelines.PipelineLibrary
. - Changed
delete_personal_compute_setting()
method for a.account_settings account-level service with new required argument order. - Changed
read_personal_compute_setting()
method for a.account_settings account-level service with new required argument order. - Changed
etag
field fordatabricks.sdk.service.settings.DeletePersonalComputeSettingRequest
to be required. - Changed
etag
field fordatabricks.sdk.service.settings.ReadPersonalComputeSettingRequest
to be required. - Added w.clean_rooms workspace-level service.
- Added
databricks.sdk.service.sharing.CentralCleanRoomInfo
dataclass. - Added
databricks.sdk.service.sharing.CleanRoomAssetInfo
dataclass. - Added
databricks.sdk.service.sharing.CleanRoomCatalog
dataclass. - Added
databricks.sdk.service.sharing.CleanRoomCatalogUpdate
dataclass. - Added
databricks.sdk.service.sharing.CleanRoomCollaboratorInfo
dataclass. - Added
databricks.sdk.service.sharing.CleanRoomInfo
dataclass. - Added
databricks.sdk.service.sharing.CleanRoomNotebookInfo
dataclass. - Added
databricks.sdk.service.sharing.CleanRoomTableInfo
dataclass. - Added
databricks.sdk.service.sharing.ColumnInfo
dataclass. - Added
databricks.sdk.service.sharing.ColumnMask
dataclass. - Added
databricks.sdk.service.sharing.ColumnTypeName
dataclass. - Added
databricks.sdk.service.sharing.CreateCleanRoom
dataclass. - Added
databricks.sdk.service.sharing.DeleteCleanRoomRequest
dataclass. - Added
databricks.sdk.service.sharing.GetCleanRoomRequest
dataclass. - Added
databricks.sdk.service.sharing.ListCleanRoomsResponse
dataclass. - Added
databricks.sdk.service.sharing.UpdateCleanRoom
dataclass. - Changed
query
field fordatabricks.sdk.service.sql.Alert
todatabricks.sdk.service.sql.AlertQuery
dataclass. - Changed
value
field fordatabricks.sdk.service.sql.AlertOptions
toany
dataclass. - Removed
is_db_admin
field fordatabricks.sdk.service.sql.User
. - Removed
profile_image_url
field fordatabricks.sdk.service.sql.User
. - Added
databricks.sdk.service.sql.AlertQuery
dataclass.
OpenAPI SHA: 0a1949ba96f71680dad30e06973eaae85b1307bb, Date: 2023-07-18
- Beta release (#198).
- Documentation improvements (#197).
- Make
dbutils
type stubs consistent with runtime implementation (#196). - Regenerated from OpenAPI spec (#199).
API changes:
- Renamed
compute.BaseClusterInfo
tocompute.ClusterSpec
- Renamed
compute.ClusterInfo
tocompute.ClusterDetails
- Renamed
jobs.JobTaskSettings
tojobs.Task
- Renamed
jobs.RunSubmitTaskSettings
tojobs.SubmitTask
- Renamed
jobs.JobWebhookNotifications
tojobs.WebhookNotifications
- Renamed
jobs.CreateJobFormat
tojobs.Format
- Renamed
jobs.GitSourceGitProvider
tojobs.GitProvider
- Renamed
jobs.FileArrivalTriggerSettings
tojobs.FileArrivalTriggerConfiguration
- Added Sphinx documentation (#184, #191, #183, #193).
- Integrated with ReadTheDocs service (#188, #189, #190).
- Create a deepcopy of config in api client (#172).
- Fix client/secret auth (#186).
- Increase DBFS copy buffer size (#185).
- Move classes to other repository (#192).
- Relax
requests
version upper bound to <3 (#138).
- Regenerate from OpenAPI spec (#176).
- Added improved notebook-native authentication (#152).
- Added methods to provide extra user agent and upstream user agent to SDK config (#163).
- Added more missing
Optional
type hints (#171, #177). - Correctly serialize external entities (#178).
- Correctly serialize external enum values in paths (#179).
- Mark non-required fields as
Optional
(#170). - Synchronize auth permutation tests with Go SDK (#165).
- Added new services from OpenAPI spec (#145, #159).
- Added consistent usage of the
upload(path, IO)
anddownload(path) -> IO
across file-related operations (#148). - Added Databricks Metadata Service credential provider (#139, #130).
- Added exposing runtime credential provider without changing user namespace (#140).
- Added a check for
is not None
for primitive fields inas_dict()
(#147). - Fixed bug related to boolean flags and convert
True
totrue
in query strings (#156). - Fixed generation of external entities (#146).
- Make u2m authentication work with new CLI (#150).
- Regenerated from OpenAPI spec (#124).
- Added
codecov.io
badge (#126). - Improved readme with links to examples (#125).
- Fixed
AttributeError: 'NoneType' object has no attribute 'debug_truncate_bytes' when instantiating an ApiClient
with empty config (#123).
- Added an extensive set of examples (#113).
- Fixed broken
dbutils.fs.mount
anddbutils.fs.updateMount
(#119). - Ignore
.netrc
when sending unauthenticated requests for OAuth handshake (#108). - Make ApiClient more
pyodide
friendly (#114). - Persist token acquired through
external-browser
auth type (#110). - Prototype for notebook-native auth (#115).
- Rename
RefreshableCredentials
toSessionCredentials
(#116). - Use shell for opening
az
cli on Windows (#117).
- Preserve original
databricks.sdk.runtime
for internal purposes (#96).
- Pin version of
requests
to>=2.28.1,<2.29.0
, so that we don't getImportError: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with LibreSSL 2.8.3
. See this issue for more information.
- Removed experimental redacting logger filter for
dbutils.secrets.get('scope', 'key')
, that was causing Jupyter Kernels to hang (#92). - Fixed error handling for SCIM and CommandExecution APIs (#94).
- Created
dependabot.yml
(#89).
- Added support for sdist (#86).
- Removed redundant newlines from AAD OAuth responses (#85).
- Update README.md with doc links (#83).
- Fix
dbutils.fs.put()
utility (#82).
- Improve Azure AD auth (#80).
- Make code working with new OpenAPI packaging (#78).
- Added
bricks
CLI authentication (#66). - Use
databricks.sdk.oauth
logger for single-request server (#74). - Support more Azure environments (#73).
- Added SECURITY.md (#64).
API changes:
- Moved
clusterpolicies
APIs tocompute
package. - Moved
clusters
APIs tocompute
package. - Moved
commands
APIs tocompute
package. - Moved
globalinitscripts
APIs tocompute
package. - Moved
instancepools
APIs tocompute
package. - Moved
scim
APIs toiam
package. - Moved
permissions
APIs toiam
package. - Moved
ipaccesslists
APIs tosettings
package. - Moved
tokenmanagement
APIs tosettings
package. - Moved
tokens
APIs tosettings
package. - Moved
workspaceconf
APIs tosettings
package. - Moved
gitcredentials
APIs toworkspace
package. - Moved
repos
APIs toworkspace
package. - Moved
secrets
APIs toworkspace
package. - Split
unitcatalog
package tocatalog
andsharing
. - Renamed
mlflow
package toml
. - Renamed
dbfs
package tofiles
. - Renamed
deployment
package toprovisioning
. - Renamed
endpoints
package toserving
. - Renamed
clusters.List
type tocompute.ListClustersRequest
. - Renamed
jobs.ListRuns
type tojobs.ListRunsRequest
. - Renamed
jobs.ExportRun
type tojobs.ExportRunRequest
. - Renamed
clusterpolicies.List
type tocompute.ListClusterPoliciesRequest
. - Renamed
jobs.List
type tojobs.ListJobsRequest
. - Renamed
permissions.GetPermissionLevels
type toiam.GetPermissionLevelsRequest
. - Renamed
pipelines.ListPipelineEvents
type topipelines.ListPipelineEventsRequest
. - Renamed
pipelines.ListPipelines
type topipelines.ListPipelinesRequest
. - Renamed
workspaceconf.GetStatus
type tosettings.GetStatusRequest
. - Renamed
repos.List
type toworkspace.ListReposRequest
. - Renamed
tokenmanagement.List
type tosettings.ListTokenManagementRequest
. - Renamed
workspace.Export
type toworkspace.ExportRequest
. - Renamed
workspace.List
type toworkspace.ListWorkspaceRequest
.