v0.7.0
- 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