v0.14.0
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_CREDENTIALSenvironment variable or correspondinggoogle_credentialsparameter inConfigor 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_ACCOUNTenvironment variable or the correspondinggoogle_service_accountparameter inConfigor 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_idfield fordatabricks.sdk.service.catalog.TableInfo. - Added
enable_predictive_optimizationfield fordatabricks.sdk.service.catalog.UpdateCataloganddatabricks.sdk.service.catalog.UpdateSchema. - Removed
databricks.sdk.service.catalog.UpdatePredictiveOptimizationanddatabricks.sdk.service.catalog.UpdatePredictiveOptimizationResponsedataclasses. - Removed
enable_optimization()method for w.metastores workspace-level service. - Added
descriptionfield fordatabricks.sdk.service.jobs.CreateJobanddatabricks.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.ListPrivateEndpointRulesRequestdataclasses.
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.