Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support subservices #559

Merged
merged 6 commits into from
Feb 23, 2024
Merged

Support subservices #559

merged 6 commits into from
Feb 23, 2024

Conversation

hectorcast-db
Copy link
Contributor

@hectorcast-db hectorcast-db commented Feb 22, 2024

Changes

Support subservices
Test PR with custom OpenAPI spec
#558

Docs for linked PR
https://databricks-sdk-py--558.org.readthedocs.build/en/558/workspace/settings/index.html#

Tests

  • make test run locally
  • make fmt applied
  • relevant integration tests applied

Copy link
Contributor

@mgyucht mgyucht left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good. Let's make sure we get the changes needed in gen-client-docs.py into this PR as well.

@codecov-commenter
Copy link

codecov-commenter commented Feb 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 58.08%. Comparing base (8537cd3) to head (3b03f31).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #559      +/-   ##
==========================================
+ Coverage   57.91%   58.08%   +0.16%     
==========================================
  Files          45       45              
  Lines       28291    29725    +1434     
==========================================
+ Hits        16385    17265     +880     
- Misses      11906    12460     +554     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@mgyucht mgyucht left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall, looks good to me. Just a couple small pieces of feedback.

Comment on lines +68 to +71
# This is a class doc, which comes with 4 indentation spaces.
# Here we are using the doc as property doc, which needs 8 indentation spaces.
formatted_doc = re.sub(r'\n', '\n ', self.doc)
out.append(f'\n {formatted_doc}')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added _get_enum_doc recently that basically does this. Let's see if we can refactor/reuse that method?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That method also strips double returns to keep everything as a single paragraph.

instance_attr = getattr(inst, name)
if name.startswith('_'):
continue
if inspect.ismethod(instance_attr):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we try this? It is probably a bit more robust.

Suggested change
if inspect.ismethod(instance_attr):
if not isinstance(inst, property):

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From a reflection point of view, the exact object we have here is not a property.

property_docs.append(
PropertyDoc(name=name,
doc=instance_attr.__doc__,
tpe=instance_attr.__class__.__name__ if instance_attr.__class__ != property else None))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When is the else branch taken?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not needed. It was needed with the first version which was not filtering everything correctly.

@@ -5,6 +5,8 @@

# -- Project information -----------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
import sys
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does make -C docs livehtml work when run from the root of the repo?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes

@hectorcast-db hectorcast-db added this pull request to the merge queue Feb 23, 2024
Merged via the queue into main with commit 2a91e8d Feb 23, 2024
9 checks passed
@hectorcast-db hectorcast-db deleted the nested-services branch February 23, 2024 11:53
tanmay-db added a commit that referenced this pull request Mar 7, 2024
* Fix get_workspace_client in GCP ([#532](#532)).
* Fix integer deserialization for headers ([#553](#553)).
* Add Files API docs to the SDK Documentation ([#556](#556)).
* Add back enums to docs ([#557](#557)).
* Sort index pages by name in docs ([#560](#560)).
* Add integration tests for Files API ([#552](#552)).
* Distinguish between empty types and fields that can take any value ([#561](#561)).
* Support subservices ([#559](#559)).
* Use all-apis scope with external-browser ([#563](#563)).
* Make a best effort attempt to initialise all Databricks globals ([#562](#562)).
* Added tokei.rs badge ([#567](#567)).
* New example to list compute resource for SUBMIT_RUN job runs ([#572](#572)).
* Update SDK to latest OpenAPI spec ([#576](#576)).

API Changes:

 * Added [w.permission_migration](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/permission_migration.html) workspace-level service.
 * Added `databricks.sdk.service.iam.PermissionMigrationRequest` dataclass.
 * Added `databricks.sdk.service.iam.PermissionMigrationResponse` dataclass.
 * Changed `version` field for `databricks.sdk.service.serving.AppManifest` to `databricks.sdk.service.serving.AnyValue` dataclass.
 * Removed `delete_personal_compute_setting()` method for [a.account_settings](https://databricks-sdk-py.readthedocs.io/en/latest/account/account_settings.html) account-level service.
 * Removed `get_personal_compute_setting()` method for [a.account_settings](https://databricks-sdk-py.readthedocs.io/en/latest/account/account_settings.html) account-level service.
 * Removed `update_personal_compute_setting()` method for [a.account_settings](https://databricks-sdk-py.readthedocs.io/en/latest/account/account_settings.html) account-level service.
 * Removed `delete_default_namespace_setting()` method for [w.settings](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/settings.html) workspace-level service.
 * Removed `delete_restrict_workspace_admins_setting()` method for [w.settings](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/settings.html) workspace-level service.
 * Removed `get_default_namespace_setting()` method for [w.settings](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/settings.html) workspace-level service.
 * Removed `get_restrict_workspace_admins_setting()` method for [w.settings](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/settings.html) workspace-level service.
 * Removed `update_default_namespace_setting()` method for [w.settings](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/settings.html) workspace-level service.
 * Removed `update_restrict_workspace_admins_setting()` method for [w.settings](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/settings.html) workspace-level service.
 * Added [w.automatic_cluster_update](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/automatic_cluster_update.html) workspace-level service.
 * Added [w.csp_enablement](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/csp_enablement.html) workspace-level service.
 * Added [a.csp_enablement_account](https://databricks-sdk-py.readthedocs.io/en/latest/account/csp_enablement_account.html) account-level service.
 * Added [w.default_namespace](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/default_namespace.html) workspace-level service.
 * Added [w.esm_enablement](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/esm_enablement.html) workspace-level service.
 * Added [a.esm_enablement_account](https://databricks-sdk-py.readthedocs.io/en/latest/account/esm_enablement_account.html) account-level service.
 * Added [a.personal_compute](https://databricks-sdk-py.readthedocs.io/en/latest/account/personal_compute.html) account-level service.
 * Added [w.restrict_workspace_admins](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/restrict_workspace_admins.html) workspace-level service.
 * Removed `databricks.sdk.service.settings.DeleteDefaultNamespaceSettingRequest` dataclass.
 * Removed `databricks.sdk.service.settings.DeletePersonalComputeSettingRequest` dataclass.
 * Removed `databricks.sdk.service.settings.DeleteRestrictWorkspaceAdminsSettingRequest` dataclass.
 * Removed `databricks.sdk.service.settings.GetDefaultNamespaceSettingRequest` dataclass.
 * Removed `databricks.sdk.service.settings.GetPersonalComputeSettingRequest` dataclass.
 * Removed `databricks.sdk.service.settings.GetRestrictWorkspaceAdminsSettingRequest` dataclass.
 * Added `aws_stable_ip_rule` field for `databricks.sdk.service.settings.NccEgressDefaultRules`.
 * Added `databricks.sdk.service.settings.AutomaticClusterUpdateSetting` dataclass.
 * Added `databricks.sdk.service.settings.ClusterAutoRestartMessage` dataclass.
 * Added `databricks.sdk.service.settings.ClusterAutoRestartMessageEnablementDetails` dataclass.
 * Added `databricks.sdk.service.settings.ClusterAutoRestartMessageMaintenanceWindow` dataclass.
 * Added `databricks.sdk.service.settings.ClusterAutoRestartMessageMaintenanceWindowDayOfWeek` dataclass.
 * Added `databricks.sdk.service.settings.ClusterAutoRestartMessageMaintenanceWindowWeekDayBasedSchedule` dataclass.
 * Added `databricks.sdk.service.settings.ClusterAutoRestartMessageMaintenanceWindowWeekDayFrequency` dataclass.
 * Added `databricks.sdk.service.settings.ClusterAutoRestartMessageMaintenanceWindowWindowStartTime` dataclass.
 * Added `databricks.sdk.service.settings.ComplianceStandard` dataclass.
 * Added `databricks.sdk.service.settings.CspEnablement` dataclass.
 * Added `databricks.sdk.service.settings.CspEnablementAccount` dataclass.
 * Added `databricks.sdk.service.settings.CspEnablementAccountSetting` dataclass.
 * Added `databricks.sdk.service.settings.CspEnablementSetting` dataclass.
 * Added `databricks.sdk.service.settings.DeleteDefaultNamespaceRequest` dataclass.
 * Added `databricks.sdk.service.settings.DeletePersonalComputeRequest` dataclass.
 * Added `databricks.sdk.service.settings.DeleteRestrictWorkspaceAdminRequest` dataclass.
 * Added `databricks.sdk.service.settings.EsmEnablement` dataclass.
 * Added `databricks.sdk.service.settings.EsmEnablementAccount` dataclass.
 * Added `databricks.sdk.service.settings.EsmEnablementAccountSetting` dataclass.
 * Added `databricks.sdk.service.settings.EsmEnablementSetting` dataclass.
 * Added `databricks.sdk.service.settings.GetAutomaticClusterUpdateRequest` dataclass.
 * Added `databricks.sdk.service.settings.GetCspEnablementAccountRequest` dataclass.
 * Added `databricks.sdk.service.settings.GetCspEnablementRequest` dataclass.
 * Added `databricks.sdk.service.settings.GetDefaultNamespaceRequest` dataclass.
 * Added `databricks.sdk.service.settings.GetEsmEnablementAccountRequest` dataclass.
 * Added `databricks.sdk.service.settings.GetEsmEnablementRequest` dataclass.
 * Added `databricks.sdk.service.settings.GetPersonalComputeRequest` dataclass.
 * Added `databricks.sdk.service.settings.GetRestrictWorkspaceAdminRequest` dataclass.
 * Added `databricks.sdk.service.settings.NccAwsStableIpRule` dataclass.
 * Added `databricks.sdk.service.settings.UpdateAutomaticClusterUpdateSettingRequest` dataclass.
 * Added `databricks.sdk.service.settings.UpdateCspEnablementAccountSettingRequest` dataclass.
 * Added `databricks.sdk.service.settings.UpdateCspEnablementSettingRequest` dataclass.
 * Added `databricks.sdk.service.settings.UpdateEsmEnablementAccountSettingRequest` dataclass.
 * Added `databricks.sdk.service.settings.UpdateEsmEnablementSettingRequest` dataclass.
 * Removed `planning_phases` field for `databricks.sdk.service.sql.QueryMetrics`.
 * Changed `delete_endpoint()` method for [w.vector_search_endpoints](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/vector_search_endpoints.html) workspace-level service with new required argument order.
 * Changed `create_index()` method for [w.vector_search_indexes](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/vector_search_indexes.html) workspace-level service with new required argument order.
 * Changed `delete_data_vector_index()` method for [w.vector_search_indexes](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/vector_search_indexes.html) workspace-level service with new required argument order.
 * Changed `upsert_data_vector_index()` method for [w.vector_search_indexes](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/vector_search_indexes.html) workspace-level service with new required argument order.
 * Changed `endpoint_name` field for `databricks.sdk.service.vectorsearch.CreateVectorIndexRequest` to be required.
 * Removed `name` field for `databricks.sdk.service.vectorsearch.DeleteDataVectorIndexRequest`.
 * Added `index_name` field for `databricks.sdk.service.vectorsearch.DeleteDataVectorIndexRequest`.
 * Removed `name` field for `databricks.sdk.service.vectorsearch.DeleteEndpointRequest`.
 * Removed `databricks.sdk.service.vectorsearch.EmbeddingConfig` dataclass.
 * Removed `embedding_config` field for `databricks.sdk.service.vectorsearch.EmbeddingSourceColumn`.
 * Added `embedding_model_endpoint_name` field for `databricks.sdk.service.vectorsearch.EmbeddingSourceColumn`.
 * Added `score_threshold` field for `databricks.sdk.service.vectorsearch.QueryVectorIndexRequest`.
 * Removed `name` field for `databricks.sdk.service.vectorsearch.UpsertDataVectorIndexRequest`.
 * Added `index_name` field for `databricks.sdk.service.vectorsearch.UpsertDataVectorIndexRequest`.
 * Removed `delta_sync_vector_index_spec` field for `databricks.sdk.service.vectorsearch.VectorIndex`.
 * Removed `direct_access_vector_index_spec` field for `databricks.sdk.service.vectorsearch.VectorIndex`.
 * Added `delta_sync_index_spec` field for `databricks.sdk.service.vectorsearch.VectorIndex`.
 * Added `direct_access_index_spec` field for `databricks.sdk.service.vectorsearch.VectorIndex`.

OpenAPI SHA: 1026b998b14fba1b8317528f47778240dc4e9a5d, Date: 2024-03-06
@tanmay-db tanmay-db mentioned this pull request Mar 7, 2024
github-merge-queue bot pushed a commit that referenced this pull request Mar 7, 2024
### New Features and Improvements
* Fixed get_workspace_client in GCP
([#532](#532)).
* Use all-apis scope with external-browser
([#563](#563)).
* Make a best effort attempt to initialise all Databricks globals
([#562](#562)).
* Fixed type issue with widgets.getArgument
([#581](#581))
* Note: Backwards incompatible changes - Settings are now nested, please
see the API changes below.

### Documentation
* Added Files API docs to the SDK Documentation
([#556](#556)).
* Added new example to list compute resource for SUBMIT_RUN job runs
([#572](#572)).
* Sorted index pages by name in docs
([#560](#560)).
* Added back enums to docs
([#557](#557)).

### API Changes
#### Added
Services:
-
[w.permission_migration](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/permission_migration.html)
workspace-level service.
-
[w.settings.automatic_cluster_update](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/settings/automatic_cluster_update.html)
workspace-level service.
-
[w.settings.csp_enablement](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/settings/csp_enablement.html)
workspace-level service.
-
[a.settings.csp_enablement_account](https://databricks-sdk-py.readthedocs.io/en/latest/account/settings/csp_enablement_account.html)
account-level service.
-
[w.settings.default_namespace](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/settings/default_namespace.html)
workspace-level service.
-
[w.settings.esm_enablement](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/settings/esm_enablement.html)
workspace-level service.
-
[a.settings.esm_enablement_account](https://databricks-sdk-py.readthedocs.io/en/latest/account/settings/esm_enablement_account.html)
account-level service.
-
[a.settings.personal_compute](https://databricks-sdk-py.readthedocs.io/en/latest/account/settings/personal_compute.html)
account-level service.
-
[w.settings.restrict_workspace_admins](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/settings/restrict_workspace_admins.html)
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` 

#### Changed
- `version` field for `databricks.sdk.service.serving.AppManifest` to
`databricks.sdk.service.serving.AnyValue` dataclass.
- `delete_endpoint()` method for
[w.vector_search_endpoints](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/vector_search_endpoints.html)
workspace-level service with new required argument order.
- `create_index()` method for
[w.vector_search_indexes](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/vector_search_indexes.html)
workspace-level service with new required argument order.
- `delete_data_vector_index()` method for
[w.vector_search_indexes](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/vector_search_indexes.html)
workspace-level service with new required argument order.
- `upsert_data_vector_index()` method for
[w.vector_search_indexes](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/vector_search_indexes.html)
workspace-level service with new required argument order.
- `endpoint_name` field for
`databricks.sdk.service.vectorsearch.CreateVectorIndexRequest` to be
required.

#### Removed
- `delete_personal_compute_setting()` method for
[a.account_settings](https://databricks-sdk-py.readthedocs.io/en/latest/account/account_settings.html)
account-level service.
- `get_personal_compute_setting()` method for
[a.account_settings](https://databricks-sdk-py.readthedocs.io/en/latest/account/account_settings.html)
account-level service.
- `update_personal_compute_setting()` method for
[a.account_settings](https://databricks-sdk-py.readthedocs.io/en/latest/account/account_settings.html)
account-level service.
- `delete_default_namespace_setting()` method for
[w.settings](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/settings.html)
workspace-level service.
- `delete_restrict_workspace_admins_setting()` method for
[w.settings](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/settings.html)
workspace-level service.
- `get_default_namespace_setting()` method for
[w.settings](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/settings.html)
workspace-level service.
- `get_restrict_workspace_admins_setting()` method for
[w.settings](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/settings.html)
workspace-level service.
- `update_default_namespace_setting()` method for
[w.settings](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/settings.html)
workspace-level service.
- `update_restrict_workspace_admins_setting()` method for
[w.settings](https://databricks-sdk-py.readthedocs.io/en/latest/workspace/settings.html)
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 for
`databricks.sdk.service.vectorsearch.EmbeddingSourceColumn`.
- `name` field for
`databricks.sdk.service.vectorsearch.DeleteDataVectorIndexRequest`.
- `name` field for
`databricks.sdk.service.vectorsearch.DeleteEndpointRequest`.
- `planning_phases` field for `databricks.sdk.service.sql.QueryMetrics`.
- `delta_sync_vector_index_spec` field for
`databricks.sdk.service.vectorsearch.VectorIndex`.
- `direct_access_vector_index_spec` field for
`databricks.sdk.service.vectorsearch.VectorIndex`.

### Internal Changes
* Added tokei.rs badge
([#567](#567)).
* Update SDK to latest OpenAPI spec
([#576](#576)).
* Add integration tests for Files API
([#552](#552)).
* Fix integer deserialization for headers
([#553](#553)).
* Support subservices
([#559](#559)).
* Distinguish between empty types and fields that can take any value
([#561](#561)).

OpenAPI SHA: 1026b998b14fba1b8317528f47778240dc4e9a5d, Date: 2024-03-06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants