Breaking Changes
- Create a method to generate OAuth tokens (#644)
NOTE: this change renames @credentials_provider
/CredentialsProvider
to @credentials_strategy
/CredentialsStrategy
.
Improvements and Bug Fixes
- 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).
Documentation
- Fix documentation examples (#676).
Internal Changes
- Ignore DataPlane Services during generation (#663).
- Update OpenAPI spec (#667).
- Retry failed integration tests (#674).
API Changes
- 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