Skip to content

Commit cef100c

Browse files
authored
Release v0.6.0 (#296)
* Added collection of Databricks Runtime versions used together with Python SDK ([#287](#287)). * Applied attribute transformer when reading in attributes from the environment ([#293](#293)). * Made notebook-native auth work with more configurations of the Databricks Runtime ([#285](#285)). * Added retry in `w.clusters.ensure_cluster_is_running(id)` when cluster is simultaneously started by two different processes. ([#283](#283)). * Set necessary headers when authenticating via Azure CLI ([#290](#290)). * Updated classifier to `Development Status :: 4 - Beta` ([#291](#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](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/artifact_allowlists.html) workspace-level service. * Added [w.securable_tags](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/securable_tags.html) workspace-level service. * Added [w.subentity_tags](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/subentity_tags.html) 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](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/experiments.html) workspace-level service. * Added `restore_runs()` method for [w.experiments](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/experiments.html) 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](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/secrets.html) 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 for `databricks.sdk.service.catalog.CatalogInfo`. * Removed `enable_auto_maintenance` field for `databricks.sdk.service.catalog.CatalogInfo`. * Added `effective_predictive_optimization_flag` field for `databricks.sdk.service.catalog.CatalogInfo`. * Added `enable_predictive_optimization` field for `databricks.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 for `databricks.sdk.service.catalog.SchemaInfo`. * Removed `enable_auto_maintenance` field for `databricks.sdk.service.catalog.SchemaInfo`. * Added `effective_predictive_optimization_flag` field for `databricks.sdk.service.catalog.SchemaInfo`. * Added `enable_predictive_optimization` field for `databricks.sdk.service.catalog.SchemaInfo`. * Removed `effective_auto_maintenance_flag` field for `databricks.sdk.service.catalog.TableInfo`. * Removed `enable_auto_maintenance` field for `databricks.sdk.service.catalog.TableInfo`. * Added `effective_predictive_optimization_flag` field for `databricks.sdk.service.catalog.TableInfo`. * Added `enable_predictive_optimization` field for `databricks.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
1 parent 2f1809d commit cef100c

File tree

17 files changed

+893
-59
lines changed

17 files changed

+893
-59
lines changed

.codegen/_openapi_sha

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1e3533f94335f0e6c5d9262bc1fea95b3ddcb0e1
1+
beff621d7b3e1d59244e2e34fc53a496f310e130

CHANGELOG.md

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,78 @@
11
# Version changelog
22

3+
## 0.6.0
4+
5+
* Added collection of Databricks Runtime versions used together with Python SDK ([#287](https://github.com/databricks/databricks-sdk-py/pull/287)).
6+
* Applied attribute transformer when reading in attributes from the environment ([#293](https://github.com/databricks/databricks-sdk-py/pull/293)).
7+
* Made notebook-native auth work with more configurations of the Databricks Runtime ([#285](https://github.com/databricks/databricks-sdk-py/pull/285)).
8+
* Added retry in `w.clusters.ensure_cluster_is_running(id)` when cluster is simultaneously started by two different processes. ([#283](https://github.com/databricks/databricks-sdk-py/pull/283)).
9+
* Set necessary headers when authenticating via Azure CLI ([#290](https://github.com/databricks/databricks-sdk-py/pull/290)).
10+
* Updated classifier to `Development Status :: 4 - Beta` ([#291](https://github.com/databricks/databricks-sdk-py/pull/291)).
11+
* Introduced Artifact Allowlist, Securable Tags, and Subentity Tags services.
12+
* Introduced DeleteRuns and RestoreRuns methods in the Experiments API.
13+
* Introduced the GetSecret method in the Secrets API.
14+
* Renamed Auto Maintenance to Predictive Optimization.
15+
16+
New Services:
17+
18+
* Added [w.artifact_allowlists](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/artifact_allowlists.html) workspace-level service.
19+
* Added [w.securable_tags](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/securable_tags.html) workspace-level service.
20+
* Added [w.subentity_tags](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/subentity_tags.html) workspace-level service.
21+
* Added `databricks.sdk.service.catalog.ArtifactAllowlistInfo` dataclass.
22+
* Added `databricks.sdk.service.catalog.ArtifactMatcher` dataclass.
23+
* Added `databricks.sdk.service.catalog.ArtifactType` dataclass.
24+
* Added `databricks.sdk.service.catalog.GetArtifactAllowlistRequest` dataclass.
25+
* Added `databricks.sdk.service.catalog.ListSecurableTagsRequest` dataclass.
26+
* Added `databricks.sdk.service.catalog.ListSecurableType` dataclass.
27+
* Added `databricks.sdk.service.catalog.ListSubentityTagsRequest` dataclass.
28+
* Added `databricks.sdk.service.catalog.MatchType` dataclass.
29+
* Added `databricks.sdk.service.catalog.SetArtifactAllowlist` dataclass.
30+
* Added `databricks.sdk.service.catalog.TagChanges` dataclass.
31+
* Added `databricks.sdk.service.catalog.TagKeyValuePair` dataclass.
32+
* Added `databricks.sdk.service.catalog.TagSecurable` dataclass.
33+
* Added `databricks.sdk.service.catalog.TagSecurableAssignment` dataclass.
34+
* Added `databricks.sdk.service.catalog.TagSecurableAssignmentsList` dataclass.
35+
* Added `databricks.sdk.service.catalog.TagSubentity` dataclass.
36+
* Added `databricks.sdk.service.catalog.TagSubentityAssignmentsList` dataclass.
37+
* Added `databricks.sdk.service.catalog.TagsSubentityAssignment` dataclass.
38+
* Added `databricks.sdk.service.catalog.UpdateSecurableType` dataclass.
39+
* Added `databricks.sdk.service.catalog.UpdateTags` dataclass.
40+
41+
New APIs:
42+
43+
* Added `delete_runs()` method for [w.experiments](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/experiments.html) workspace-level service.
44+
* Added `restore_runs()` method for [w.experiments](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/experiments.html) workspace-level service.
45+
* Added `databricks.sdk.service.ml.DeleteRuns` dataclass.
46+
* Added `databricks.sdk.service.ml.DeleteRunsResponse` dataclass.
47+
* Added `databricks.sdk.service.ml.RestoreRuns` dataclass.
48+
* Added `databricks.sdk.service.ml.RestoreRunsResponse` dataclass.
49+
* Added `get_secret()` method for [w.secrets](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/secrets.html) workspace-level service.
50+
* Added `databricks.sdk.service.workspace.GetSecretRequest` dataclass.
51+
* Added `databricks.sdk.service.workspace.GetSecretResponse` dataclass.
52+
53+
Service Renames:
54+
55+
* Removed `effective_auto_maintenance_flag` field for `databricks.sdk.service.catalog.CatalogInfo`.
56+
* Removed `enable_auto_maintenance` field for `databricks.sdk.service.catalog.CatalogInfo`.
57+
* Added `effective_predictive_optimization_flag` field for `databricks.sdk.service.catalog.CatalogInfo`.
58+
* Added `enable_predictive_optimization` field for `databricks.sdk.service.catalog.CatalogInfo`.
59+
* Removed `databricks.sdk.service.catalog.EffectiveAutoMaintenanceFlag` dataclass.
60+
* Removed `databricks.sdk.service.catalog.EffectiveAutoMaintenanceFlagInheritedFromType` dataclass.
61+
* Removed `databricks.sdk.service.catalog.EnableAutoMaintenance` dataclass.
62+
* Removed `effective_auto_maintenance_flag` field for `databricks.sdk.service.catalog.SchemaInfo`.
63+
* Removed `enable_auto_maintenance` field for `databricks.sdk.service.catalog.SchemaInfo`.
64+
* Added `effective_predictive_optimization_flag` field for `databricks.sdk.service.catalog.SchemaInfo`.
65+
* Added `enable_predictive_optimization` field for `databricks.sdk.service.catalog.SchemaInfo`.
66+
* Removed `effective_auto_maintenance_flag` field for `databricks.sdk.service.catalog.TableInfo`.
67+
* Removed `enable_auto_maintenance` field for `databricks.sdk.service.catalog.TableInfo`.
68+
* Added `effective_predictive_optimization_flag` field for `databricks.sdk.service.catalog.TableInfo`.
69+
* Added `enable_predictive_optimization` field for `databricks.sdk.service.catalog.TableInfo`.
70+
* Added `databricks.sdk.service.catalog.EffectivePredictiveOptimizationFlag` dataclass.
71+
* Added `databricks.sdk.service.catalog.EffectivePredictiveOptimizationFlagInheritedFromType` dataclass.
72+
* Added `databricks.sdk.service.catalog.EnablePredictiveOptimization` dataclass.
73+
74+
OpenAPI SHA: beff621d7b3e1d59244e2e34fc53a496f310e130, Date: 2023-08-17
75+
376
## 0.5.0
477

578
* Added `connection_pool_size` configuration property (preview) ([#276](https://github.com/databricks/databricks-sdk-py/pull/276)).

databricks/sdk/__init__.py

Lines changed: 8 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)