databricks-sdk 0.54.0__py3-none-any.whl → 0.56.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of databricks-sdk might be problematic. Click here for more details.

Files changed (30) hide show
  1. databricks/sdk/__init__.py +304 -278
  2. databricks/sdk/config.py +15 -4
  3. databricks/sdk/credentials_provider.py +101 -55
  4. databricks/sdk/oauth.py +0 -5
  5. databricks/sdk/oidc.py +206 -0
  6. databricks/sdk/service/aibuilder.py +364 -0
  7. databricks/sdk/service/billing.py +150 -169
  8. databricks/sdk/service/catalog.py +263 -835
  9. databricks/sdk/service/cleanrooms.py +15 -10
  10. databricks/sdk/service/compute.py +12 -22
  11. databricks/sdk/service/dashboards.py +59 -451
  12. databricks/sdk/service/database.py +1256 -0
  13. databricks/sdk/service/files.py +2 -0
  14. databricks/sdk/service/iam.py +6 -6
  15. databricks/sdk/service/jobs.py +238 -0
  16. databricks/sdk/service/ml.py +8 -271
  17. databricks/sdk/service/pipelines.py +45 -1
  18. databricks/sdk/service/provisioning.py +0 -3
  19. databricks/sdk/service/qualitymonitorv2.py +275 -0
  20. databricks/sdk/service/serving.py +76 -4
  21. databricks/sdk/service/settings.py +982 -99
  22. databricks/sdk/service/sharing.py +3 -2
  23. databricks/sdk/service/sql.py +218 -1
  24. databricks/sdk/version.py +1 -1
  25. {databricks_sdk-0.54.0.dist-info → databricks_sdk-0.56.0.dist-info}/METADATA +1 -1
  26. {databricks_sdk-0.54.0.dist-info → databricks_sdk-0.56.0.dist-info}/RECORD +30 -26
  27. {databricks_sdk-0.54.0.dist-info → databricks_sdk-0.56.0.dist-info}/WHEEL +1 -1
  28. {databricks_sdk-0.54.0.dist-info → databricks_sdk-0.56.0.dist-info}/licenses/LICENSE +0 -0
  29. {databricks_sdk-0.54.0.dist-info → databricks_sdk-0.56.0.dist-info}/licenses/NOTICE +0 -0
  30. {databricks_sdk-0.54.0.dist-info → databricks_sdk-0.56.0.dist-info}/top_level.txt +0 -0
@@ -5,7 +5,6 @@ from typing import Optional
5
5
 
6
6
  import databricks.sdk.core as client
7
7
  import databricks.sdk.dbutils as dbutils
8
- import databricks.sdk.service as service
9
8
  from databricks.sdk import azure
10
9
  from databricks.sdk.credentials_provider import CredentialsStrategy
11
10
  from databricks.sdk.data_plane import DataPlaneTokenSource
@@ -14,6 +13,30 @@ from databricks.sdk.mixins.files import DbfsExt, FilesExt
14
13
  from databricks.sdk.mixins.jobs import JobsExt
15
14
  from databricks.sdk.mixins.open_ai_client import ServingEndpointsExt
16
15
  from databricks.sdk.mixins.workspace import WorkspaceExt
16
+ from databricks.sdk.service import aibuilder as pkg_aibuilder
17
+ from databricks.sdk.service import apps as pkg_apps
18
+ from databricks.sdk.service import billing as pkg_billing
19
+ from databricks.sdk.service import catalog as pkg_catalog
20
+ from databricks.sdk.service import cleanrooms as pkg_cleanrooms
21
+ from databricks.sdk.service import compute as pkg_compute
22
+ from databricks.sdk.service import dashboards as pkg_dashboards
23
+ from databricks.sdk.service import database as pkg_database
24
+ from databricks.sdk.service import files as pkg_files
25
+ from databricks.sdk.service import iam as pkg_iam
26
+ from databricks.sdk.service import jobs as pkg_jobs
27
+ from databricks.sdk.service import marketplace as pkg_marketplace
28
+ from databricks.sdk.service import ml as pkg_ml
29
+ from databricks.sdk.service import oauth2 as pkg_oauth2
30
+ from databricks.sdk.service import pipelines as pkg_pipelines
31
+ from databricks.sdk.service import provisioning as pkg_provisioning
32
+ from databricks.sdk.service import qualitymonitorv2 as pkg_qualitymonitorv2
33
+ from databricks.sdk.service import serving as pkg_serving
34
+ from databricks.sdk.service import settings as pkg_settings
35
+ from databricks.sdk.service import sharing as pkg_sharing
36
+ from databricks.sdk.service import sql as pkg_sql
37
+ from databricks.sdk.service import vectorsearch as pkg_vectorsearch
38
+ from databricks.sdk.service import workspace as pkg_workspace
39
+ from databricks.sdk.service.aibuilder import CustomLlmsAPI
17
40
  from databricks.sdk.service.apps import AppsAPI
18
41
  from databricks.sdk.service.billing import (BillableUsageAPI, BudgetPolicyAPI,
19
42
  BudgetsAPI, LogDeliveryAPI,
@@ -23,7 +46,6 @@ from databricks.sdk.service.catalog import (AccountMetastoreAssignmentsAPI,
23
46
  AccountStorageCredentialsAPI,
24
47
  ArtifactAllowlistsAPI, CatalogsAPI,
25
48
  ConnectionsAPI, CredentialsAPI,
26
- DatabaseInstancesAPI,
27
49
  ExternalLocationsAPI, FunctionsAPI,
28
50
  GrantsAPI, MetastoresAPI,
29
51
  ModelVersionsAPI, OnlineTablesAPI,
@@ -46,8 +68,8 @@ from databricks.sdk.service.compute import (ClusterPoliciesAPI, ClustersAPI,
46
68
  PolicyComplianceForClustersAPI,
47
69
  PolicyFamiliesAPI)
48
70
  from databricks.sdk.service.dashboards import (GenieAPI, LakeviewAPI,
49
- LakeviewEmbeddedAPI,
50
- QueryExecutionAPI)
71
+ LakeviewEmbeddedAPI)
72
+ from databricks.sdk.service.database import DatabaseAPI
51
73
  from databricks.sdk.service.files import DbfsAPI, FilesAPI
52
74
  from databricks.sdk.service.iam import (AccessControlAPI,
53
75
  AccountAccessControlAPI,
@@ -79,6 +101,7 @@ from databricks.sdk.service.provisioning import (CredentialsAPI,
79
101
  NetworksAPI, PrivateAccessAPI,
80
102
  StorageAPI, VpcEndpointsAPI,
81
103
  Workspace, WorkspacesAPI)
104
+ from databricks.sdk.service.qualitymonitorv2 import QualityMonitorV2API
82
105
  from databricks.sdk.service.serving import (ServingEndpointsAPI,
83
106
  ServingEndpointsDataPlaneAPI)
84
107
  from databricks.sdk.service.settings import (
@@ -86,16 +109,17 @@ from databricks.sdk.service.settings import (
86
109
  AibiDashboardEmbeddingAccessPolicyAPI,
87
110
  AibiDashboardEmbeddingApprovedDomainsAPI, AutomaticClusterUpdateAPI,
88
111
  ComplianceSecurityProfileAPI, CredentialsManagerAPI,
89
- CspEnablementAccountAPI, DefaultNamespaceAPI, DisableLegacyAccessAPI,
90
- DisableLegacyDbfsAPI, DisableLegacyFeaturesAPI, EnableExportNotebookAPI,
91
- EnableIpAccessListsAPI, EnableNotebookTableClipboardAPI,
92
- EnableResultsDownloadingAPI, EnhancedSecurityMonitoringAPI,
93
- EsmEnablementAccountAPI, IpAccessListsAPI,
112
+ CspEnablementAccountAPI, DashboardEmailSubscriptionsAPI,
113
+ DefaultNamespaceAPI, DisableLegacyAccessAPI, DisableLegacyDbfsAPI,
114
+ DisableLegacyFeaturesAPI, EnableExportNotebookAPI, EnableIpAccessListsAPI,
115
+ EnableNotebookTableClipboardAPI, EnableResultsDownloadingAPI,
116
+ EnhancedSecurityMonitoringAPI, EsmEnablementAccountAPI, IpAccessListsAPI,
94
117
  LlmProxyPartnerPoweredAccountAPI, LlmProxyPartnerPoweredEnforceAPI,
95
118
  LlmProxyPartnerPoweredWorkspaceAPI, NetworkConnectivityAPI,
96
119
  NetworkPoliciesAPI, NotificationDestinationsAPI, PersonalComputeAPI,
97
- RestrictWorkspaceAdminsAPI, SettingsAPI, TokenManagementAPI, TokensAPI,
98
- WorkspaceConfAPI, WorkspaceNetworkConfigurationAPI)
120
+ RestrictWorkspaceAdminsAPI, SettingsAPI, SqlResultsDownloadAPI,
121
+ TokenManagementAPI, TokensAPI, WorkspaceConfAPI,
122
+ WorkspaceNetworkConfigurationAPI)
99
123
  from databricks.sdk.service.sharing import (ProvidersAPI,
100
124
  RecipientActivationAPI,
101
125
  RecipientFederationPoliciesAPI,
@@ -209,119 +233,116 @@ class WorkspaceClient:
209
233
  self._dbutils = _make_dbutils(self._config)
210
234
  self._api_client = client.ApiClient(self._config)
211
235
  serving_endpoints = ServingEndpointsExt(self._api_client)
212
- self._access_control = service.iam.AccessControlAPI(self._api_client)
213
- self._account_access_control_proxy = service.iam.AccountAccessControlProxyAPI(self._api_client)
214
- self._alerts = service.sql.AlertsAPI(self._api_client)
215
- self._alerts_legacy = service.sql.AlertsLegacyAPI(self._api_client)
216
- self._alerts_v2 = service.sql.AlertsV2API(self._api_client)
217
- self._apps = service.apps.AppsAPI(self._api_client)
218
- self._artifact_allowlists = service.catalog.ArtifactAllowlistsAPI(self._api_client)
219
- self._catalogs = service.catalog.CatalogsAPI(self._api_client)
220
- self._clean_room_assets = service.cleanrooms.CleanRoomAssetsAPI(self._api_client)
221
- self._clean_room_task_runs = service.cleanrooms.CleanRoomTaskRunsAPI(self._api_client)
222
- self._clean_rooms = service.cleanrooms.CleanRoomsAPI(self._api_client)
223
- self._cluster_policies = service.compute.ClusterPoliciesAPI(self._api_client)
236
+ self._access_control = pkg_iam.AccessControlAPI(self._api_client)
237
+ self._account_access_control_proxy = pkg_iam.AccountAccessControlProxyAPI(self._api_client)
238
+ self._alerts = pkg_sql.AlertsAPI(self._api_client)
239
+ self._alerts_legacy = pkg_sql.AlertsLegacyAPI(self._api_client)
240
+ self._alerts_v2 = pkg_sql.AlertsV2API(self._api_client)
241
+ self._apps = pkg_apps.AppsAPI(self._api_client)
242
+ self._artifact_allowlists = pkg_catalog.ArtifactAllowlistsAPI(self._api_client)
243
+ self._catalogs = pkg_catalog.CatalogsAPI(self._api_client)
244
+ self._clean_room_assets = pkg_cleanrooms.CleanRoomAssetsAPI(self._api_client)
245
+ self._clean_room_task_runs = pkg_cleanrooms.CleanRoomTaskRunsAPI(self._api_client)
246
+ self._clean_rooms = pkg_cleanrooms.CleanRoomsAPI(self._api_client)
247
+ self._cluster_policies = pkg_compute.ClusterPoliciesAPI(self._api_client)
224
248
  self._clusters = ClustersExt(self._api_client)
225
- self._command_execution = service.compute.CommandExecutionAPI(self._api_client)
226
- self._connections = service.catalog.ConnectionsAPI(self._api_client)
227
- self._consumer_fulfillments = service.marketplace.ConsumerFulfillmentsAPI(self._api_client)
228
- self._consumer_installations = service.marketplace.ConsumerInstallationsAPI(self._api_client)
229
- self._consumer_listings = service.marketplace.ConsumerListingsAPI(self._api_client)
230
- self._consumer_personalization_requests = service.marketplace.ConsumerPersonalizationRequestsAPI(
231
- self._api_client
232
- )
233
- self._consumer_providers = service.marketplace.ConsumerProvidersAPI(self._api_client)
234
- self._credentials = service.catalog.CredentialsAPI(self._api_client)
235
- self._credentials_manager = service.settings.CredentialsManagerAPI(self._api_client)
236
- self._current_user = service.iam.CurrentUserAPI(self._api_client)
237
- self._dashboard_widgets = service.sql.DashboardWidgetsAPI(self._api_client)
238
- self._dashboards = service.sql.DashboardsAPI(self._api_client)
239
- self._data_sources = service.sql.DataSourcesAPI(self._api_client)
240
- self._database_instances = service.catalog.DatabaseInstancesAPI(self._api_client)
249
+ self._command_execution = pkg_compute.CommandExecutionAPI(self._api_client)
250
+ self._connections = pkg_catalog.ConnectionsAPI(self._api_client)
251
+ self._consumer_fulfillments = pkg_marketplace.ConsumerFulfillmentsAPI(self._api_client)
252
+ self._consumer_installations = pkg_marketplace.ConsumerInstallationsAPI(self._api_client)
253
+ self._consumer_listings = pkg_marketplace.ConsumerListingsAPI(self._api_client)
254
+ self._consumer_personalization_requests = pkg_marketplace.ConsumerPersonalizationRequestsAPI(self._api_client)
255
+ self._consumer_providers = pkg_marketplace.ConsumerProvidersAPI(self._api_client)
256
+ self._credentials = pkg_catalog.CredentialsAPI(self._api_client)
257
+ self._credentials_manager = pkg_settings.CredentialsManagerAPI(self._api_client)
258
+ self._current_user = pkg_iam.CurrentUserAPI(self._api_client)
259
+ self._custom_llms = pkg_aibuilder.CustomLlmsAPI(self._api_client)
260
+ self._dashboard_widgets = pkg_sql.DashboardWidgetsAPI(self._api_client)
261
+ self._dashboards = pkg_sql.DashboardsAPI(self._api_client)
262
+ self._data_sources = pkg_sql.DataSourcesAPI(self._api_client)
263
+ self._database = pkg_database.DatabaseAPI(self._api_client)
241
264
  self._dbfs = DbfsExt(self._api_client)
242
- self._dbsql_permissions = service.sql.DbsqlPermissionsAPI(self._api_client)
243
- self._experiments = service.ml.ExperimentsAPI(self._api_client)
244
- self._external_locations = service.catalog.ExternalLocationsAPI(self._api_client)
265
+ self._dbsql_permissions = pkg_sql.DbsqlPermissionsAPI(self._api_client)
266
+ self._experiments = pkg_ml.ExperimentsAPI(self._api_client)
267
+ self._external_locations = pkg_catalog.ExternalLocationsAPI(self._api_client)
245
268
  self._files = _make_files_client(self._api_client, self._config)
246
- self._functions = service.catalog.FunctionsAPI(self._api_client)
247
- self._genie = service.dashboards.GenieAPI(self._api_client)
248
- self._git_credentials = service.workspace.GitCredentialsAPI(self._api_client)
249
- self._global_init_scripts = service.compute.GlobalInitScriptsAPI(self._api_client)
250
- self._grants = service.catalog.GrantsAPI(self._api_client)
251
- self._groups = service.iam.GroupsAPI(self._api_client)
252
- self._instance_pools = service.compute.InstancePoolsAPI(self._api_client)
253
- self._instance_profiles = service.compute.InstanceProfilesAPI(self._api_client)
254
- self._ip_access_lists = service.settings.IpAccessListsAPI(self._api_client)
269
+ self._functions = pkg_catalog.FunctionsAPI(self._api_client)
270
+ self._genie = pkg_dashboards.GenieAPI(self._api_client)
271
+ self._git_credentials = pkg_workspace.GitCredentialsAPI(self._api_client)
272
+ self._global_init_scripts = pkg_compute.GlobalInitScriptsAPI(self._api_client)
273
+ self._grants = pkg_catalog.GrantsAPI(self._api_client)
274
+ self._groups = pkg_iam.GroupsAPI(self._api_client)
275
+ self._instance_pools = pkg_compute.InstancePoolsAPI(self._api_client)
276
+ self._instance_profiles = pkg_compute.InstanceProfilesAPI(self._api_client)
277
+ self._ip_access_lists = pkg_settings.IpAccessListsAPI(self._api_client)
255
278
  self._jobs = JobsExt(self._api_client)
256
- self._lakeview = service.dashboards.LakeviewAPI(self._api_client)
257
- self._lakeview_embedded = service.dashboards.LakeviewEmbeddedAPI(self._api_client)
258
- self._libraries = service.compute.LibrariesAPI(self._api_client)
259
- self._metastores = service.catalog.MetastoresAPI(self._api_client)
260
- self._model_registry = service.ml.ModelRegistryAPI(self._api_client)
261
- self._model_versions = service.catalog.ModelVersionsAPI(self._api_client)
262
- self._notification_destinations = service.settings.NotificationDestinationsAPI(self._api_client)
263
- self._online_tables = service.catalog.OnlineTablesAPI(self._api_client)
264
- self._permission_migration = service.iam.PermissionMigrationAPI(self._api_client)
265
- self._permissions = service.iam.PermissionsAPI(self._api_client)
266
- self._pipelines = service.pipelines.PipelinesAPI(self._api_client)
267
- self._policy_compliance_for_clusters = service.compute.PolicyComplianceForClustersAPI(self._api_client)
268
- self._policy_compliance_for_jobs = service.jobs.PolicyComplianceForJobsAPI(self._api_client)
269
- self._policy_families = service.compute.PolicyFamiliesAPI(self._api_client)
270
- self._provider_exchange_filters = service.marketplace.ProviderExchangeFiltersAPI(self._api_client)
271
- self._provider_exchanges = service.marketplace.ProviderExchangesAPI(self._api_client)
272
- self._provider_files = service.marketplace.ProviderFilesAPI(self._api_client)
273
- self._provider_listings = service.marketplace.ProviderListingsAPI(self._api_client)
274
- self._provider_personalization_requests = service.marketplace.ProviderPersonalizationRequestsAPI(
279
+ self._lakeview = pkg_dashboards.LakeviewAPI(self._api_client)
280
+ self._lakeview_embedded = pkg_dashboards.LakeviewEmbeddedAPI(self._api_client)
281
+ self._libraries = pkg_compute.LibrariesAPI(self._api_client)
282
+ self._metastores = pkg_catalog.MetastoresAPI(self._api_client)
283
+ self._model_registry = pkg_ml.ModelRegistryAPI(self._api_client)
284
+ self._model_versions = pkg_catalog.ModelVersionsAPI(self._api_client)
285
+ self._notification_destinations = pkg_settings.NotificationDestinationsAPI(self._api_client)
286
+ self._online_tables = pkg_catalog.OnlineTablesAPI(self._api_client)
287
+ self._permission_migration = pkg_iam.PermissionMigrationAPI(self._api_client)
288
+ self._permissions = pkg_iam.PermissionsAPI(self._api_client)
289
+ self._pipelines = pkg_pipelines.PipelinesAPI(self._api_client)
290
+ self._policy_compliance_for_clusters = pkg_compute.PolicyComplianceForClustersAPI(self._api_client)
291
+ self._policy_compliance_for_jobs = pkg_jobs.PolicyComplianceForJobsAPI(self._api_client)
292
+ self._policy_families = pkg_compute.PolicyFamiliesAPI(self._api_client)
293
+ self._provider_exchange_filters = pkg_marketplace.ProviderExchangeFiltersAPI(self._api_client)
294
+ self._provider_exchanges = pkg_marketplace.ProviderExchangesAPI(self._api_client)
295
+ self._provider_files = pkg_marketplace.ProviderFilesAPI(self._api_client)
296
+ self._provider_listings = pkg_marketplace.ProviderListingsAPI(self._api_client)
297
+ self._provider_personalization_requests = pkg_marketplace.ProviderPersonalizationRequestsAPI(self._api_client)
298
+ self._provider_provider_analytics_dashboards = pkg_marketplace.ProviderProviderAnalyticsDashboardsAPI(
275
299
  self._api_client
276
300
  )
277
- self._provider_provider_analytics_dashboards = service.marketplace.ProviderProviderAnalyticsDashboardsAPI(
278
- self._api_client
279
- )
280
- self._provider_providers = service.marketplace.ProviderProvidersAPI(self._api_client)
281
- self._providers = service.sharing.ProvidersAPI(self._api_client)
282
- self._quality_monitors = service.catalog.QualityMonitorsAPI(self._api_client)
283
- self._queries = service.sql.QueriesAPI(self._api_client)
284
- self._queries_legacy = service.sql.QueriesLegacyAPI(self._api_client)
285
- self._query_execution = service.dashboards.QueryExecutionAPI(self._api_client)
286
- self._query_history = service.sql.QueryHistoryAPI(self._api_client)
287
- self._query_visualizations = service.sql.QueryVisualizationsAPI(self._api_client)
288
- self._query_visualizations_legacy = service.sql.QueryVisualizationsLegacyAPI(self._api_client)
289
- self._recipient_activation = service.sharing.RecipientActivationAPI(self._api_client)
290
- self._recipient_federation_policies = service.sharing.RecipientFederationPoliciesAPI(self._api_client)
291
- self._recipients = service.sharing.RecipientsAPI(self._api_client)
292
- self._redash_config = service.sql.RedashConfigAPI(self._api_client)
293
- self._registered_models = service.catalog.RegisteredModelsAPI(self._api_client)
294
- self._repos = service.workspace.ReposAPI(self._api_client)
295
- self._resource_quotas = service.catalog.ResourceQuotasAPI(self._api_client)
296
- self._schemas = service.catalog.SchemasAPI(self._api_client)
297
- self._secrets = service.workspace.SecretsAPI(self._api_client)
298
- self._service_principals = service.iam.ServicePrincipalsAPI(self._api_client)
301
+ self._provider_providers = pkg_marketplace.ProviderProvidersAPI(self._api_client)
302
+ self._providers = pkg_sharing.ProvidersAPI(self._api_client)
303
+ self._quality_monitor_v2 = pkg_qualitymonitorv2.QualityMonitorV2API(self._api_client)
304
+ self._quality_monitors = pkg_catalog.QualityMonitorsAPI(self._api_client)
305
+ self._queries = pkg_sql.QueriesAPI(self._api_client)
306
+ self._queries_legacy = pkg_sql.QueriesLegacyAPI(self._api_client)
307
+ self._query_history = pkg_sql.QueryHistoryAPI(self._api_client)
308
+ self._query_visualizations = pkg_sql.QueryVisualizationsAPI(self._api_client)
309
+ self._query_visualizations_legacy = pkg_sql.QueryVisualizationsLegacyAPI(self._api_client)
310
+ self._recipient_activation = pkg_sharing.RecipientActivationAPI(self._api_client)
311
+ self._recipient_federation_policies = pkg_sharing.RecipientFederationPoliciesAPI(self._api_client)
312
+ self._recipients = pkg_sharing.RecipientsAPI(self._api_client)
313
+ self._redash_config = pkg_sql.RedashConfigAPI(self._api_client)
314
+ self._registered_models = pkg_catalog.RegisteredModelsAPI(self._api_client)
315
+ self._repos = pkg_workspace.ReposAPI(self._api_client)
316
+ self._resource_quotas = pkg_catalog.ResourceQuotasAPI(self._api_client)
317
+ self._schemas = pkg_catalog.SchemasAPI(self._api_client)
318
+ self._secrets = pkg_workspace.SecretsAPI(self._api_client)
319
+ self._service_principals = pkg_iam.ServicePrincipalsAPI(self._api_client)
299
320
  self._serving_endpoints = serving_endpoints
300
321
  serving_endpoints_data_plane_token_source = DataPlaneTokenSource(
301
322
  self._config.host, self._config.oauth_token, self._config.disable_async_token_refresh
302
323
  )
303
- self._serving_endpoints_data_plane = service.serving.ServingEndpointsDataPlaneAPI(
324
+ self._serving_endpoints_data_plane = pkg_serving.ServingEndpointsDataPlaneAPI(
304
325
  self._api_client, serving_endpoints, serving_endpoints_data_plane_token_source
305
326
  )
306
- self._settings = service.settings.SettingsAPI(self._api_client)
307
- self._shares = service.sharing.SharesAPI(self._api_client)
308
- self._statement_execution = service.sql.StatementExecutionAPI(self._api_client)
309
- self._storage_credentials = service.catalog.StorageCredentialsAPI(self._api_client)
310
- self._system_schemas = service.catalog.SystemSchemasAPI(self._api_client)
311
- self._table_constraints = service.catalog.TableConstraintsAPI(self._api_client)
312
- self._tables = service.catalog.TablesAPI(self._api_client)
313
- self._temporary_table_credentials = service.catalog.TemporaryTableCredentialsAPI(self._api_client)
314
- self._token_management = service.settings.TokenManagementAPI(self._api_client)
315
- self._tokens = service.settings.TokensAPI(self._api_client)
316
- self._users = service.iam.UsersAPI(self._api_client)
317
- self._vector_search_endpoints = service.vectorsearch.VectorSearchEndpointsAPI(self._api_client)
318
- self._vector_search_indexes = service.vectorsearch.VectorSearchIndexesAPI(self._api_client)
319
- self._volumes = service.catalog.VolumesAPI(self._api_client)
320
- self._warehouses = service.sql.WarehousesAPI(self._api_client)
327
+ self._settings = pkg_settings.SettingsAPI(self._api_client)
328
+ self._shares = pkg_sharing.SharesAPI(self._api_client)
329
+ self._statement_execution = pkg_sql.StatementExecutionAPI(self._api_client)
330
+ self._storage_credentials = pkg_catalog.StorageCredentialsAPI(self._api_client)
331
+ self._system_schemas = pkg_catalog.SystemSchemasAPI(self._api_client)
332
+ self._table_constraints = pkg_catalog.TableConstraintsAPI(self._api_client)
333
+ self._tables = pkg_catalog.TablesAPI(self._api_client)
334
+ self._temporary_table_credentials = pkg_catalog.TemporaryTableCredentialsAPI(self._api_client)
335
+ self._token_management = pkg_settings.TokenManagementAPI(self._api_client)
336
+ self._tokens = pkg_settings.TokensAPI(self._api_client)
337
+ self._users = pkg_iam.UsersAPI(self._api_client)
338
+ self._vector_search_endpoints = pkg_vectorsearch.VectorSearchEndpointsAPI(self._api_client)
339
+ self._vector_search_indexes = pkg_vectorsearch.VectorSearchIndexesAPI(self._api_client)
340
+ self._volumes = pkg_catalog.VolumesAPI(self._api_client)
341
+ self._warehouses = pkg_sql.WarehousesAPI(self._api_client)
321
342
  self._workspace = WorkspaceExt(self._api_client)
322
- self._workspace_bindings = service.catalog.WorkspaceBindingsAPI(self._api_client)
323
- self._workspace_conf = service.settings.WorkspaceConfAPI(self._api_client)
324
- self._forecasting = service.ml.ForecastingAPI(self._api_client)
343
+ self._workspace_bindings = pkg_catalog.WorkspaceBindingsAPI(self._api_client)
344
+ self._workspace_conf = pkg_settings.WorkspaceConfAPI(self._api_client)
345
+ self._forecasting = pkg_ml.ForecastingAPI(self._api_client)
325
346
 
326
347
  @property
327
348
  def config(self) -> client.Config:
@@ -336,62 +357,62 @@ class WorkspaceClient:
336
357
  return self._dbutils
337
358
 
338
359
  @property
339
- def access_control(self) -> service.iam.AccessControlAPI:
360
+ def access_control(self) -> pkg_iam.AccessControlAPI:
340
361
  """Rule based Access Control for Databricks Resources."""
341
362
  return self._access_control
342
363
 
343
364
  @property
344
- def account_access_control_proxy(self) -> service.iam.AccountAccessControlProxyAPI:
365
+ def account_access_control_proxy(self) -> pkg_iam.AccountAccessControlProxyAPI:
345
366
  """These APIs manage access rules on resources in an account."""
346
367
  return self._account_access_control_proxy
347
368
 
348
369
  @property
349
- def alerts(self) -> service.sql.AlertsAPI:
370
+ def alerts(self) -> pkg_sql.AlertsAPI:
350
371
  """The alerts API can be used to perform CRUD operations on alerts."""
351
372
  return self._alerts
352
373
 
353
374
  @property
354
- def alerts_legacy(self) -> service.sql.AlertsLegacyAPI:
375
+ def alerts_legacy(self) -> pkg_sql.AlertsLegacyAPI:
355
376
  """The alerts API can be used to perform CRUD operations on alerts."""
356
377
  return self._alerts_legacy
357
378
 
358
379
  @property
359
- def alerts_v2(self) -> service.sql.AlertsV2API:
360
- """TODO: Add description."""
380
+ def alerts_v2(self) -> pkg_sql.AlertsV2API:
381
+ """New version of SQL Alerts."""
361
382
  return self._alerts_v2
362
383
 
363
384
  @property
364
- def apps(self) -> service.apps.AppsAPI:
385
+ def apps(self) -> pkg_apps.AppsAPI:
365
386
  """Apps run directly on a customer’s Databricks instance, integrate with their data, use and extend Databricks services, and enable users to interact through single sign-on."""
366
387
  return self._apps
367
388
 
368
389
  @property
369
- def artifact_allowlists(self) -> service.catalog.ArtifactAllowlistsAPI:
390
+ def artifact_allowlists(self) -> pkg_catalog.ArtifactAllowlistsAPI:
370
391
  """In Databricks Runtime 13.3 and above, you can add libraries and init scripts to the `allowlist` in UC so that users can leverage these artifacts on compute configured with shared access mode."""
371
392
  return self._artifact_allowlists
372
393
 
373
394
  @property
374
- def catalogs(self) -> service.catalog.CatalogsAPI:
395
+ def catalogs(self) -> pkg_catalog.CatalogsAPI:
375
396
  """A catalog is the first layer of Unity Catalog’s three-level namespace."""
376
397
  return self._catalogs
377
398
 
378
399
  @property
379
- def clean_room_assets(self) -> service.cleanrooms.CleanRoomAssetsAPI:
400
+ def clean_room_assets(self) -> pkg_cleanrooms.CleanRoomAssetsAPI:
380
401
  """Clean room assets are data and code objects — Tables, volumes, and notebooks that are shared with the clean room."""
381
402
  return self._clean_room_assets
382
403
 
383
404
  @property
384
- def clean_room_task_runs(self) -> service.cleanrooms.CleanRoomTaskRunsAPI:
405
+ def clean_room_task_runs(self) -> pkg_cleanrooms.CleanRoomTaskRunsAPI:
385
406
  """Clean room task runs are the executions of notebooks in a clean room."""
386
407
  return self._clean_room_task_runs
387
408
 
388
409
  @property
389
- def clean_rooms(self) -> service.cleanrooms.CleanRoomsAPI:
410
+ def clean_rooms(self) -> pkg_cleanrooms.CleanRoomsAPI:
390
411
  """A clean room uses Delta Sharing and serverless compute to provide a secure and privacy-protecting environment where multiple parties can work together on sensitive enterprise data without direct access to each other’s data."""
391
412
  return self._clean_rooms
392
413
 
393
414
  @property
394
- def cluster_policies(self) -> service.compute.ClusterPoliciesAPI:
415
+ def cluster_policies(self) -> pkg_compute.ClusterPoliciesAPI:
395
416
  """You can use cluster policies to control users' ability to configure clusters based on a set of rules."""
396
417
  return self._cluster_policies
397
418
 
@@ -401,74 +422,79 @@ class WorkspaceClient:
401
422
  return self._clusters
402
423
 
403
424
  @property
404
- def command_execution(self) -> service.compute.CommandExecutionAPI:
425
+ def command_execution(self) -> pkg_compute.CommandExecutionAPI:
405
426
  """This API allows execution of Python, Scala, SQL, or R commands on running Databricks Clusters."""
406
427
  return self._command_execution
407
428
 
408
429
  @property
409
- def connections(self) -> service.catalog.ConnectionsAPI:
430
+ def connections(self) -> pkg_catalog.ConnectionsAPI:
410
431
  """Connections allow for creating a connection to an external data source."""
411
432
  return self._connections
412
433
 
413
434
  @property
414
- def consumer_fulfillments(self) -> service.marketplace.ConsumerFulfillmentsAPI:
435
+ def consumer_fulfillments(self) -> pkg_marketplace.ConsumerFulfillmentsAPI:
415
436
  """Fulfillments are entities that allow consumers to preview installations."""
416
437
  return self._consumer_fulfillments
417
438
 
418
439
  @property
419
- def consumer_installations(self) -> service.marketplace.ConsumerInstallationsAPI:
440
+ def consumer_installations(self) -> pkg_marketplace.ConsumerInstallationsAPI:
420
441
  """Installations are entities that allow consumers to interact with Databricks Marketplace listings."""
421
442
  return self._consumer_installations
422
443
 
423
444
  @property
424
- def consumer_listings(self) -> service.marketplace.ConsumerListingsAPI:
445
+ def consumer_listings(self) -> pkg_marketplace.ConsumerListingsAPI:
425
446
  """Listings are the core entities in the Marketplace."""
426
447
  return self._consumer_listings
427
448
 
428
449
  @property
429
- def consumer_personalization_requests(self) -> service.marketplace.ConsumerPersonalizationRequestsAPI:
450
+ def consumer_personalization_requests(self) -> pkg_marketplace.ConsumerPersonalizationRequestsAPI:
430
451
  """Personalization Requests allow customers to interact with the individualized Marketplace listing flow."""
431
452
  return self._consumer_personalization_requests
432
453
 
433
454
  @property
434
- def consumer_providers(self) -> service.marketplace.ConsumerProvidersAPI:
455
+ def consumer_providers(self) -> pkg_marketplace.ConsumerProvidersAPI:
435
456
  """Providers are the entities that publish listings to the Marketplace."""
436
457
  return self._consumer_providers
437
458
 
438
459
  @property
439
- def credentials(self) -> service.catalog.CredentialsAPI:
460
+ def credentials(self) -> pkg_catalog.CredentialsAPI:
440
461
  """A credential represents an authentication and authorization mechanism for accessing services on your cloud tenant."""
441
462
  return self._credentials
442
463
 
443
464
  @property
444
- def credentials_manager(self) -> service.settings.CredentialsManagerAPI:
465
+ def credentials_manager(self) -> pkg_settings.CredentialsManagerAPI:
445
466
  """Credentials manager interacts with with Identity Providers to to perform token exchanges using stored credentials and refresh tokens."""
446
467
  return self._credentials_manager
447
468
 
448
469
  @property
449
- def current_user(self) -> service.iam.CurrentUserAPI:
470
+ def current_user(self) -> pkg_iam.CurrentUserAPI:
450
471
  """This API allows retrieving information about currently authenticated user or service principal."""
451
472
  return self._current_user
452
473
 
453
474
  @property
454
- def dashboard_widgets(self) -> service.sql.DashboardWidgetsAPI:
475
+ def custom_llms(self) -> pkg_aibuilder.CustomLlmsAPI:
476
+ """The Custom LLMs service manages state and powers the UI for the Custom LLM product."""
477
+ return self._custom_llms
478
+
479
+ @property
480
+ def dashboard_widgets(self) -> pkg_sql.DashboardWidgetsAPI:
455
481
  """This is an evolving API that facilitates the addition and removal of widgets from existing dashboards within the Databricks Workspace."""
456
482
  return self._dashboard_widgets
457
483
 
458
484
  @property
459
- def dashboards(self) -> service.sql.DashboardsAPI:
485
+ def dashboards(self) -> pkg_sql.DashboardsAPI:
460
486
  """In general, there is little need to modify dashboards using the API."""
461
487
  return self._dashboards
462
488
 
463
489
  @property
464
- def data_sources(self) -> service.sql.DataSourcesAPI:
490
+ def data_sources(self) -> pkg_sql.DataSourcesAPI:
465
491
  """This API is provided to assist you in making new query objects."""
466
492
  return self._data_sources
467
493
 
468
494
  @property
469
- def database_instances(self) -> service.catalog.DatabaseInstancesAPI:
495
+ def database(self) -> pkg_database.DatabaseAPI:
470
496
  """Database Instances provide access to a database via REST API or direct SQL."""
471
- return self._database_instances
497
+ return self._database
472
498
 
473
499
  @property
474
500
  def dbfs(self) -> DbfsExt:
@@ -476,67 +502,67 @@ class WorkspaceClient:
476
502
  return self._dbfs
477
503
 
478
504
  @property
479
- def dbsql_permissions(self) -> service.sql.DbsqlPermissionsAPI:
505
+ def dbsql_permissions(self) -> pkg_sql.DbsqlPermissionsAPI:
480
506
  """The SQL Permissions API is similar to the endpoints of the :method:permissions/set."""
481
507
  return self._dbsql_permissions
482
508
 
483
509
  @property
484
- def experiments(self) -> service.ml.ExperimentsAPI:
510
+ def experiments(self) -> pkg_ml.ExperimentsAPI:
485
511
  """Experiments are the primary unit of organization in MLflow; all MLflow runs belong to an experiment."""
486
512
  return self._experiments
487
513
 
488
514
  @property
489
- def external_locations(self) -> service.catalog.ExternalLocationsAPI:
515
+ def external_locations(self) -> pkg_catalog.ExternalLocationsAPI:
490
516
  """An external location is an object that combines a cloud storage path with a storage credential that authorizes access to the cloud storage path."""
491
517
  return self._external_locations
492
518
 
493
519
  @property
494
- def files(self) -> service.files.FilesAPI:
520
+ def files(self) -> pkg_files.FilesAPI:
495
521
  """The Files API is a standard HTTP API that allows you to read, write, list, and delete files and directories by referring to their URI."""
496
522
  return self._files
497
523
 
498
524
  @property
499
- def functions(self) -> service.catalog.FunctionsAPI:
525
+ def functions(self) -> pkg_catalog.FunctionsAPI:
500
526
  """Functions implement User-Defined Functions (UDFs) in Unity Catalog."""
501
527
  return self._functions
502
528
 
503
529
  @property
504
- def genie(self) -> service.dashboards.GenieAPI:
530
+ def genie(self) -> pkg_dashboards.GenieAPI:
505
531
  """Genie provides a no-code experience for business users, powered by AI/BI."""
506
532
  return self._genie
507
533
 
508
534
  @property
509
- def git_credentials(self) -> service.workspace.GitCredentialsAPI:
535
+ def git_credentials(self) -> pkg_workspace.GitCredentialsAPI:
510
536
  """Registers personal access token for Databricks to do operations on behalf of the user."""
511
537
  return self._git_credentials
512
538
 
513
539
  @property
514
- def global_init_scripts(self) -> service.compute.GlobalInitScriptsAPI:
540
+ def global_init_scripts(self) -> pkg_compute.GlobalInitScriptsAPI:
515
541
  """The Global Init Scripts API enables Workspace administrators to configure global initialization scripts for their workspace."""
516
542
  return self._global_init_scripts
517
543
 
518
544
  @property
519
- def grants(self) -> service.catalog.GrantsAPI:
545
+ def grants(self) -> pkg_catalog.GrantsAPI:
520
546
  """In Unity Catalog, data is secure by default."""
521
547
  return self._grants
522
548
 
523
549
  @property
524
- def groups(self) -> service.iam.GroupsAPI:
550
+ def groups(self) -> pkg_iam.GroupsAPI:
525
551
  """Groups simplify identity management, making it easier to assign access to Databricks workspace, data, and other securable objects."""
526
552
  return self._groups
527
553
 
528
554
  @property
529
- def instance_pools(self) -> service.compute.InstancePoolsAPI:
555
+ def instance_pools(self) -> pkg_compute.InstancePoolsAPI:
530
556
  """Instance Pools API are used to create, edit, delete and list instance pools by using ready-to-use cloud instances which reduces a cluster start and auto-scaling times."""
531
557
  return self._instance_pools
532
558
 
533
559
  @property
534
- def instance_profiles(self) -> service.compute.InstanceProfilesAPI:
560
+ def instance_profiles(self) -> pkg_compute.InstanceProfilesAPI:
535
561
  """The Instance Profiles API allows admins to add, list, and remove instance profiles that users can launch clusters with."""
536
562
  return self._instance_profiles
537
563
 
538
564
  @property
539
- def ip_access_lists(self) -> service.settings.IpAccessListsAPI:
565
+ def ip_access_lists(self) -> pkg_settings.IpAccessListsAPI:
540
566
  """IP Access List enables admins to configure IP access lists."""
541
567
  return self._ip_access_lists
542
568
 
@@ -546,197 +572,197 @@ class WorkspaceClient:
546
572
  return self._jobs
547
573
 
548
574
  @property
549
- def lakeview(self) -> service.dashboards.LakeviewAPI:
575
+ def lakeview(self) -> pkg_dashboards.LakeviewAPI:
550
576
  """These APIs provide specific management operations for Lakeview dashboards."""
551
577
  return self._lakeview
552
578
 
553
579
  @property
554
- def lakeview_embedded(self) -> service.dashboards.LakeviewEmbeddedAPI:
580
+ def lakeview_embedded(self) -> pkg_dashboards.LakeviewEmbeddedAPI:
555
581
  """Token-based Lakeview APIs for embedding dashboards in external applications."""
556
582
  return self._lakeview_embedded
557
583
 
558
584
  @property
559
- def libraries(self) -> service.compute.LibrariesAPI:
585
+ def libraries(self) -> pkg_compute.LibrariesAPI:
560
586
  """The Libraries API allows you to install and uninstall libraries and get the status of libraries on a cluster."""
561
587
  return self._libraries
562
588
 
563
589
  @property
564
- def metastores(self) -> service.catalog.MetastoresAPI:
590
+ def metastores(self) -> pkg_catalog.MetastoresAPI:
565
591
  """A metastore is the top-level container of objects in Unity Catalog."""
566
592
  return self._metastores
567
593
 
568
594
  @property
569
- def model_registry(self) -> service.ml.ModelRegistryAPI:
595
+ def model_registry(self) -> pkg_ml.ModelRegistryAPI:
570
596
  """Note: This API reference documents APIs for the Workspace Model Registry."""
571
597
  return self._model_registry
572
598
 
573
599
  @property
574
- def model_versions(self) -> service.catalog.ModelVersionsAPI:
600
+ def model_versions(self) -> pkg_catalog.ModelVersionsAPI:
575
601
  """Databricks provides a hosted version of MLflow Model Registry in Unity Catalog."""
576
602
  return self._model_versions
577
603
 
578
604
  @property
579
- def notification_destinations(self) -> service.settings.NotificationDestinationsAPI:
605
+ def notification_destinations(self) -> pkg_settings.NotificationDestinationsAPI:
580
606
  """The notification destinations API lets you programmatically manage a workspace's notification destinations."""
581
607
  return self._notification_destinations
582
608
 
583
609
  @property
584
- def online_tables(self) -> service.catalog.OnlineTablesAPI:
610
+ def online_tables(self) -> pkg_catalog.OnlineTablesAPI:
585
611
  """Online tables provide lower latency and higher QPS access to data from Delta tables."""
586
612
  return self._online_tables
587
613
 
588
614
  @property
589
- def permission_migration(self) -> service.iam.PermissionMigrationAPI:
615
+ def permission_migration(self) -> pkg_iam.PermissionMigrationAPI:
590
616
  """APIs for migrating acl permissions, used only by the ucx tool: https://github.com/databrickslabs/ucx."""
591
617
  return self._permission_migration
592
618
 
593
619
  @property
594
- def permissions(self) -> service.iam.PermissionsAPI:
620
+ def permissions(self) -> pkg_iam.PermissionsAPI:
595
621
  """Permissions API are used to create read, write, edit, update and manage access for various users on different objects and endpoints."""
596
622
  return self._permissions
597
623
 
598
624
  @property
599
- def pipelines(self) -> service.pipelines.PipelinesAPI:
625
+ def pipelines(self) -> pkg_pipelines.PipelinesAPI:
600
626
  """The Delta Live Tables API allows you to create, edit, delete, start, and view details about pipelines."""
601
627
  return self._pipelines
602
628
 
603
629
  @property
604
- def policy_compliance_for_clusters(self) -> service.compute.PolicyComplianceForClustersAPI:
630
+ def policy_compliance_for_clusters(self) -> pkg_compute.PolicyComplianceForClustersAPI:
605
631
  """The policy compliance APIs allow you to view and manage the policy compliance status of clusters in your workspace."""
606
632
  return self._policy_compliance_for_clusters
607
633
 
608
634
  @property
609
- def policy_compliance_for_jobs(self) -> service.jobs.PolicyComplianceForJobsAPI:
635
+ def policy_compliance_for_jobs(self) -> pkg_jobs.PolicyComplianceForJobsAPI:
610
636
  """The compliance APIs allow you to view and manage the policy compliance status of jobs in your workspace."""
611
637
  return self._policy_compliance_for_jobs
612
638
 
613
639
  @property
614
- def policy_families(self) -> service.compute.PolicyFamiliesAPI:
640
+ def policy_families(self) -> pkg_compute.PolicyFamiliesAPI:
615
641
  """View available policy families."""
616
642
  return self._policy_families
617
643
 
618
644
  @property
619
- def provider_exchange_filters(self) -> service.marketplace.ProviderExchangeFiltersAPI:
645
+ def provider_exchange_filters(self) -> pkg_marketplace.ProviderExchangeFiltersAPI:
620
646
  """Marketplace exchanges filters curate which groups can access an exchange."""
621
647
  return self._provider_exchange_filters
622
648
 
623
649
  @property
624
- def provider_exchanges(self) -> service.marketplace.ProviderExchangesAPI:
650
+ def provider_exchanges(self) -> pkg_marketplace.ProviderExchangesAPI:
625
651
  """Marketplace exchanges allow providers to share their listings with a curated set of customers."""
626
652
  return self._provider_exchanges
627
653
 
628
654
  @property
629
- def provider_files(self) -> service.marketplace.ProviderFilesAPI:
655
+ def provider_files(self) -> pkg_marketplace.ProviderFilesAPI:
630
656
  """Marketplace offers a set of file APIs for various purposes such as preview notebooks and provider icons."""
631
657
  return self._provider_files
632
658
 
633
659
  @property
634
- def provider_listings(self) -> service.marketplace.ProviderListingsAPI:
660
+ def provider_listings(self) -> pkg_marketplace.ProviderListingsAPI:
635
661
  """Listings are the core entities in the Marketplace."""
636
662
  return self._provider_listings
637
663
 
638
664
  @property
639
- def provider_personalization_requests(self) -> service.marketplace.ProviderPersonalizationRequestsAPI:
665
+ def provider_personalization_requests(self) -> pkg_marketplace.ProviderPersonalizationRequestsAPI:
640
666
  """Personalization requests are an alternate to instantly available listings."""
641
667
  return self._provider_personalization_requests
642
668
 
643
669
  @property
644
- def provider_provider_analytics_dashboards(self) -> service.marketplace.ProviderProviderAnalyticsDashboardsAPI:
670
+ def provider_provider_analytics_dashboards(self) -> pkg_marketplace.ProviderProviderAnalyticsDashboardsAPI:
645
671
  """Manage templated analytics solution for providers."""
646
672
  return self._provider_provider_analytics_dashboards
647
673
 
648
674
  @property
649
- def provider_providers(self) -> service.marketplace.ProviderProvidersAPI:
675
+ def provider_providers(self) -> pkg_marketplace.ProviderProvidersAPI:
650
676
  """Providers are entities that manage assets in Marketplace."""
651
677
  return self._provider_providers
652
678
 
653
679
  @property
654
- def providers(self) -> service.sharing.ProvidersAPI:
680
+ def providers(self) -> pkg_sharing.ProvidersAPI:
655
681
  """A data provider is an object representing the organization in the real world who shares the data."""
656
682
  return self._providers
657
683
 
658
684
  @property
659
- def quality_monitors(self) -> service.catalog.QualityMonitorsAPI:
685
+ def quality_monitor_v2(self) -> pkg_qualitymonitorv2.QualityMonitorV2API:
686
+ """Manage data quality of UC objects (currently support `schema`)."""
687
+ return self._quality_monitor_v2
688
+
689
+ @property
690
+ def quality_monitors(self) -> pkg_catalog.QualityMonitorsAPI:
660
691
  """A monitor computes and monitors data or model quality metrics for a table over time."""
661
692
  return self._quality_monitors
662
693
 
663
694
  @property
664
- def queries(self) -> service.sql.QueriesAPI:
695
+ def queries(self) -> pkg_sql.QueriesAPI:
665
696
  """The queries API can be used to perform CRUD operations on queries."""
666
697
  return self._queries
667
698
 
668
699
  @property
669
- def queries_legacy(self) -> service.sql.QueriesLegacyAPI:
700
+ def queries_legacy(self) -> pkg_sql.QueriesLegacyAPI:
670
701
  """These endpoints are used for CRUD operations on query definitions."""
671
702
  return self._queries_legacy
672
703
 
673
704
  @property
674
- def query_execution(self) -> service.dashboards.QueryExecutionAPI:
675
- """Query execution APIs for AI / BI Dashboards."""
676
- return self._query_execution
677
-
678
- @property
679
- def query_history(self) -> service.sql.QueryHistoryAPI:
705
+ def query_history(self) -> pkg_sql.QueryHistoryAPI:
680
706
  """A service responsible for storing and retrieving the list of queries run against SQL endpoints and serverless compute."""
681
707
  return self._query_history
682
708
 
683
709
  @property
684
- def query_visualizations(self) -> service.sql.QueryVisualizationsAPI:
710
+ def query_visualizations(self) -> pkg_sql.QueryVisualizationsAPI:
685
711
  """This is an evolving API that facilitates the addition and removal of visualizations from existing queries in the Databricks Workspace."""
686
712
  return self._query_visualizations
687
713
 
688
714
  @property
689
- def query_visualizations_legacy(self) -> service.sql.QueryVisualizationsLegacyAPI:
715
+ def query_visualizations_legacy(self) -> pkg_sql.QueryVisualizationsLegacyAPI:
690
716
  """This is an evolving API that facilitates the addition and removal of vizualisations from existing queries within the Databricks Workspace."""
691
717
  return self._query_visualizations_legacy
692
718
 
693
719
  @property
694
- def recipient_activation(self) -> service.sharing.RecipientActivationAPI:
720
+ def recipient_activation(self) -> pkg_sharing.RecipientActivationAPI:
695
721
  """The Recipient Activation API is only applicable in the open sharing model where the recipient object has the authentication type of `TOKEN`."""
696
722
  return self._recipient_activation
697
723
 
698
724
  @property
699
- def recipient_federation_policies(self) -> service.sharing.RecipientFederationPoliciesAPI:
725
+ def recipient_federation_policies(self) -> pkg_sharing.RecipientFederationPoliciesAPI:
700
726
  """The Recipient Federation Policies APIs are only applicable in the open sharing model where the recipient object has the authentication type of `OIDC_RECIPIENT`, enabling data sharing from Databricks to non-Databricks recipients."""
701
727
  return self._recipient_federation_policies
702
728
 
703
729
  @property
704
- def recipients(self) -> service.sharing.RecipientsAPI:
730
+ def recipients(self) -> pkg_sharing.RecipientsAPI:
705
731
  """A recipient is an object you create using :method:recipients/create to represent an organization which you want to allow access shares."""
706
732
  return self._recipients
707
733
 
708
734
  @property
709
- def redash_config(self) -> service.sql.RedashConfigAPI:
735
+ def redash_config(self) -> pkg_sql.RedashConfigAPI:
710
736
  """Redash V2 service for workspace configurations (internal)."""
711
737
  return self._redash_config
712
738
 
713
739
  @property
714
- def registered_models(self) -> service.catalog.RegisteredModelsAPI:
740
+ def registered_models(self) -> pkg_catalog.RegisteredModelsAPI:
715
741
  """Databricks provides a hosted version of MLflow Model Registry in Unity Catalog."""
716
742
  return self._registered_models
717
743
 
718
744
  @property
719
- def repos(self) -> service.workspace.ReposAPI:
745
+ def repos(self) -> pkg_workspace.ReposAPI:
720
746
  """The Repos API allows users to manage their git repos."""
721
747
  return self._repos
722
748
 
723
749
  @property
724
- def resource_quotas(self) -> service.catalog.ResourceQuotasAPI:
750
+ def resource_quotas(self) -> pkg_catalog.ResourceQuotasAPI:
725
751
  """Unity Catalog enforces resource quotas on all securable objects, which limits the number of resources that can be created."""
726
752
  return self._resource_quotas
727
753
 
728
754
  @property
729
- def schemas(self) -> service.catalog.SchemasAPI:
755
+ def schemas(self) -> pkg_catalog.SchemasAPI:
730
756
  """A schema (also called a database) is the second layer of Unity Catalog’s three-level namespace."""
731
757
  return self._schemas
732
758
 
733
759
  @property
734
- def secrets(self) -> service.workspace.SecretsAPI:
760
+ def secrets(self) -> pkg_workspace.SecretsAPI:
735
761
  """The Secrets API allows you to manage secrets, secret scopes, and access permissions."""
736
762
  return self._secrets
737
763
 
738
764
  @property
739
- def service_principals(self) -> service.iam.ServicePrincipalsAPI:
765
+ def service_principals(self) -> pkg_iam.ServicePrincipalsAPI:
740
766
  """Identities for use with jobs, automated tools, and systems such as scripts, apps, and CI/CD platforms."""
741
767
  return self._service_principals
742
768
 
@@ -746,82 +772,82 @@ class WorkspaceClient:
746
772
  return self._serving_endpoints
747
773
 
748
774
  @property
749
- def serving_endpoints_data_plane(self) -> service.serving.ServingEndpointsDataPlaneAPI:
775
+ def serving_endpoints_data_plane(self) -> pkg_serving.ServingEndpointsDataPlaneAPI:
750
776
  """Serving endpoints DataPlane provides a set of operations to interact with data plane endpoints for Serving endpoints service."""
751
777
  return self._serving_endpoints_data_plane
752
778
 
753
779
  @property
754
- def settings(self) -> service.settings.SettingsAPI:
780
+ def settings(self) -> pkg_settings.SettingsAPI:
755
781
  """Workspace Settings API allows users to manage settings at the workspace level."""
756
782
  return self._settings
757
783
 
758
784
  @property
759
- def shares(self) -> service.sharing.SharesAPI:
785
+ def shares(self) -> pkg_sharing.SharesAPI:
760
786
  """A share is a container instantiated with :method:shares/create."""
761
787
  return self._shares
762
788
 
763
789
  @property
764
- def statement_execution(self) -> service.sql.StatementExecutionAPI:
790
+ def statement_execution(self) -> pkg_sql.StatementExecutionAPI:
765
791
  """The Databricks SQL Statement Execution API can be used to execute SQL statements on a SQL warehouse and fetch the result."""
766
792
  return self._statement_execution
767
793
 
768
794
  @property
769
- def storage_credentials(self) -> service.catalog.StorageCredentialsAPI:
795
+ def storage_credentials(self) -> pkg_catalog.StorageCredentialsAPI:
770
796
  """A storage credential represents an authentication and authorization mechanism for accessing data stored on your cloud tenant."""
771
797
  return self._storage_credentials
772
798
 
773
799
  @property
774
- def system_schemas(self) -> service.catalog.SystemSchemasAPI:
800
+ def system_schemas(self) -> pkg_catalog.SystemSchemasAPI:
775
801
  """A system schema is a schema that lives within the system catalog."""
776
802
  return self._system_schemas
777
803
 
778
804
  @property
779
- def table_constraints(self) -> service.catalog.TableConstraintsAPI:
805
+ def table_constraints(self) -> pkg_catalog.TableConstraintsAPI:
780
806
  """Primary key and foreign key constraints encode relationships between fields in tables."""
781
807
  return self._table_constraints
782
808
 
783
809
  @property
784
- def tables(self) -> service.catalog.TablesAPI:
810
+ def tables(self) -> pkg_catalog.TablesAPI:
785
811
  """A table resides in the third layer of Unity Catalog’s three-level namespace."""
786
812
  return self._tables
787
813
 
788
814
  @property
789
- def temporary_table_credentials(self) -> service.catalog.TemporaryTableCredentialsAPI:
815
+ def temporary_table_credentials(self) -> pkg_catalog.TemporaryTableCredentialsAPI:
790
816
  """Temporary Table Credentials refer to short-lived, downscoped credentials used to access cloud storage locationswhere table data is stored in Databricks."""
791
817
  return self._temporary_table_credentials
792
818
 
793
819
  @property
794
- def token_management(self) -> service.settings.TokenManagementAPI:
820
+ def token_management(self) -> pkg_settings.TokenManagementAPI:
795
821
  """Enables administrators to get all tokens and delete tokens for other users."""
796
822
  return self._token_management
797
823
 
798
824
  @property
799
- def tokens(self) -> service.settings.TokensAPI:
825
+ def tokens(self) -> pkg_settings.TokensAPI:
800
826
  """The Token API allows you to create, list, and revoke tokens that can be used to authenticate and access Databricks REST APIs."""
801
827
  return self._tokens
802
828
 
803
829
  @property
804
- def users(self) -> service.iam.UsersAPI:
830
+ def users(self) -> pkg_iam.UsersAPI:
805
831
  """User identities recognized by Databricks and represented by email addresses."""
806
832
  return self._users
807
833
 
808
834
  @property
809
- def vector_search_endpoints(self) -> service.vectorsearch.VectorSearchEndpointsAPI:
835
+ def vector_search_endpoints(self) -> pkg_vectorsearch.VectorSearchEndpointsAPI:
810
836
  """**Endpoint**: Represents the compute resources to host vector search indexes."""
811
837
  return self._vector_search_endpoints
812
838
 
813
839
  @property
814
- def vector_search_indexes(self) -> service.vectorsearch.VectorSearchIndexesAPI:
840
+ def vector_search_indexes(self) -> pkg_vectorsearch.VectorSearchIndexesAPI:
815
841
  """**Index**: An efficient representation of your embedding vectors that supports real-time and efficient approximate nearest neighbor (ANN) search queries."""
816
842
  return self._vector_search_indexes
817
843
 
818
844
  @property
819
- def volumes(self) -> service.catalog.VolumesAPI:
845
+ def volumes(self) -> pkg_catalog.VolumesAPI:
820
846
  """Volumes are a Unity Catalog (UC) capability for accessing, storing, governing, organizing and processing files."""
821
847
  return self._volumes
822
848
 
823
849
  @property
824
- def warehouses(self) -> service.sql.WarehousesAPI:
850
+ def warehouses(self) -> pkg_sql.WarehousesAPI:
825
851
  """A SQL warehouse is a compute resource that lets you run SQL commands on data objects within Databricks SQL."""
826
852
  return self._warehouses
827
853
 
@@ -831,17 +857,17 @@ class WorkspaceClient:
831
857
  return self._workspace
832
858
 
833
859
  @property
834
- def workspace_bindings(self) -> service.catalog.WorkspaceBindingsAPI:
860
+ def workspace_bindings(self) -> pkg_catalog.WorkspaceBindingsAPI:
835
861
  """A securable in Databricks can be configured as __OPEN__ or __ISOLATED__."""
836
862
  return self._workspace_bindings
837
863
 
838
864
  @property
839
- def workspace_conf(self) -> service.settings.WorkspaceConfAPI:
865
+ def workspace_conf(self) -> pkg_settings.WorkspaceConfAPI:
840
866
  """This API allows updating known workspace settings for advanced users."""
841
867
  return self._workspace_conf
842
868
 
843
869
  @property
844
- def forecasting(self) -> service.ml.ForecastingAPI:
870
+ def forecasting(self) -> pkg_ml.ForecastingAPI:
845
871
  """The Forecasting API allows you to create and get serverless forecasting experiments."""
846
872
  return self._forecasting
847
873
 
@@ -919,37 +945,37 @@ class AccountClient:
919
945
  )
920
946
  self._config = config.copy()
921
947
  self._api_client = client.ApiClient(self._config)
922
- self._access_control = service.iam.AccountAccessControlAPI(self._api_client)
923
- self._billable_usage = service.billing.BillableUsageAPI(self._api_client)
924
- self._budget_policy = service.billing.BudgetPolicyAPI(self._api_client)
925
- self._credentials = service.provisioning.CredentialsAPI(self._api_client)
926
- self._custom_app_integration = service.oauth2.CustomAppIntegrationAPI(self._api_client)
927
- self._encryption_keys = service.provisioning.EncryptionKeysAPI(self._api_client)
928
- self._federation_policy = service.oauth2.AccountFederationPolicyAPI(self._api_client)
929
- self._groups = service.iam.AccountGroupsAPI(self._api_client)
930
- self._ip_access_lists = service.settings.AccountIpAccessListsAPI(self._api_client)
931
- self._log_delivery = service.billing.LogDeliveryAPI(self._api_client)
932
- self._metastore_assignments = service.catalog.AccountMetastoreAssignmentsAPI(self._api_client)
933
- self._metastores = service.catalog.AccountMetastoresAPI(self._api_client)
934
- self._network_connectivity = service.settings.NetworkConnectivityAPI(self._api_client)
935
- self._network_policies = service.settings.NetworkPoliciesAPI(self._api_client)
936
- self._networks = service.provisioning.NetworksAPI(self._api_client)
937
- self._o_auth_published_apps = service.oauth2.OAuthPublishedAppsAPI(self._api_client)
938
- self._private_access = service.provisioning.PrivateAccessAPI(self._api_client)
939
- self._published_app_integration = service.oauth2.PublishedAppIntegrationAPI(self._api_client)
940
- self._service_principal_federation_policy = service.oauth2.ServicePrincipalFederationPolicyAPI(self._api_client)
941
- self._service_principal_secrets = service.oauth2.ServicePrincipalSecretsAPI(self._api_client)
942
- self._service_principals = service.iam.AccountServicePrincipalsAPI(self._api_client)
943
- self._settings = service.settings.AccountSettingsAPI(self._api_client)
944
- self._storage = service.provisioning.StorageAPI(self._api_client)
945
- self._storage_credentials = service.catalog.AccountStorageCredentialsAPI(self._api_client)
946
- self._usage_dashboards = service.billing.UsageDashboardsAPI(self._api_client)
947
- self._users = service.iam.AccountUsersAPI(self._api_client)
948
- self._vpc_endpoints = service.provisioning.VpcEndpointsAPI(self._api_client)
949
- self._workspace_assignment = service.iam.WorkspaceAssignmentAPI(self._api_client)
950
- self._workspace_network_configuration = service.settings.WorkspaceNetworkConfigurationAPI(self._api_client)
951
- self._workspaces = service.provisioning.WorkspacesAPI(self._api_client)
952
- self._budgets = service.billing.BudgetsAPI(self._api_client)
948
+ self._access_control = pkg_iam.AccountAccessControlAPI(self._api_client)
949
+ self._billable_usage = pkg_billing.BillableUsageAPI(self._api_client)
950
+ self._budget_policy = pkg_billing.BudgetPolicyAPI(self._api_client)
951
+ self._credentials = pkg_provisioning.CredentialsAPI(self._api_client)
952
+ self._custom_app_integration = pkg_oauth2.CustomAppIntegrationAPI(self._api_client)
953
+ self._encryption_keys = pkg_provisioning.EncryptionKeysAPI(self._api_client)
954
+ self._federation_policy = pkg_oauth2.AccountFederationPolicyAPI(self._api_client)
955
+ self._groups = pkg_iam.AccountGroupsAPI(self._api_client)
956
+ self._ip_access_lists = pkg_settings.AccountIpAccessListsAPI(self._api_client)
957
+ self._log_delivery = pkg_billing.LogDeliveryAPI(self._api_client)
958
+ self._metastore_assignments = pkg_catalog.AccountMetastoreAssignmentsAPI(self._api_client)
959
+ self._metastores = pkg_catalog.AccountMetastoresAPI(self._api_client)
960
+ self._network_connectivity = pkg_settings.NetworkConnectivityAPI(self._api_client)
961
+ self._network_policies = pkg_settings.NetworkPoliciesAPI(self._api_client)
962
+ self._networks = pkg_provisioning.NetworksAPI(self._api_client)
963
+ self._o_auth_published_apps = pkg_oauth2.OAuthPublishedAppsAPI(self._api_client)
964
+ self._private_access = pkg_provisioning.PrivateAccessAPI(self._api_client)
965
+ self._published_app_integration = pkg_oauth2.PublishedAppIntegrationAPI(self._api_client)
966
+ self._service_principal_federation_policy = pkg_oauth2.ServicePrincipalFederationPolicyAPI(self._api_client)
967
+ self._service_principal_secrets = pkg_oauth2.ServicePrincipalSecretsAPI(self._api_client)
968
+ self._service_principals = pkg_iam.AccountServicePrincipalsAPI(self._api_client)
969
+ self._settings = pkg_settings.AccountSettingsAPI(self._api_client)
970
+ self._storage = pkg_provisioning.StorageAPI(self._api_client)
971
+ self._storage_credentials = pkg_catalog.AccountStorageCredentialsAPI(self._api_client)
972
+ self._usage_dashboards = pkg_billing.UsageDashboardsAPI(self._api_client)
973
+ self._users = pkg_iam.AccountUsersAPI(self._api_client)
974
+ self._vpc_endpoints = pkg_provisioning.VpcEndpointsAPI(self._api_client)
975
+ self._workspace_assignment = pkg_iam.WorkspaceAssignmentAPI(self._api_client)
976
+ self._workspace_network_configuration = pkg_settings.WorkspaceNetworkConfigurationAPI(self._api_client)
977
+ self._workspaces = pkg_provisioning.WorkspacesAPI(self._api_client)
978
+ self._budgets = pkg_billing.BudgetsAPI(self._api_client)
953
979
 
954
980
  @property
955
981
  def config(self) -> client.Config:
@@ -960,157 +986,157 @@ class AccountClient:
960
986
  return self._api_client
961
987
 
962
988
  @property
963
- def access_control(self) -> service.iam.AccountAccessControlAPI:
989
+ def access_control(self) -> pkg_iam.AccountAccessControlAPI:
964
990
  """These APIs manage access rules on resources in an account."""
965
991
  return self._access_control
966
992
 
967
993
  @property
968
- def billable_usage(self) -> service.billing.BillableUsageAPI:
994
+ def billable_usage(self) -> pkg_billing.BillableUsageAPI:
969
995
  """This API allows you to download billable usage logs for the specified account and date range."""
970
996
  return self._billable_usage
971
997
 
972
998
  @property
973
- def budget_policy(self) -> service.billing.BudgetPolicyAPI:
999
+ def budget_policy(self) -> pkg_billing.BudgetPolicyAPI:
974
1000
  """A service serves REST API about Budget policies."""
975
1001
  return self._budget_policy
976
1002
 
977
1003
  @property
978
- def credentials(self) -> service.provisioning.CredentialsAPI:
1004
+ def credentials(self) -> pkg_provisioning.CredentialsAPI:
979
1005
  """These APIs manage credential configurations for this workspace."""
980
1006
  return self._credentials
981
1007
 
982
1008
  @property
983
- def custom_app_integration(self) -> service.oauth2.CustomAppIntegrationAPI:
1009
+ def custom_app_integration(self) -> pkg_oauth2.CustomAppIntegrationAPI:
984
1010
  """These APIs enable administrators to manage custom OAuth app integrations, which is required for adding/using Custom OAuth App Integration like Tableau Cloud for Databricks in AWS cloud."""
985
1011
  return self._custom_app_integration
986
1012
 
987
1013
  @property
988
- def encryption_keys(self) -> service.provisioning.EncryptionKeysAPI:
1014
+ def encryption_keys(self) -> pkg_provisioning.EncryptionKeysAPI:
989
1015
  """These APIs manage encryption key configurations for this workspace (optional)."""
990
1016
  return self._encryption_keys
991
1017
 
992
1018
  @property
993
- def federation_policy(self) -> service.oauth2.AccountFederationPolicyAPI:
1019
+ def federation_policy(self) -> pkg_oauth2.AccountFederationPolicyAPI:
994
1020
  """These APIs manage account federation policies."""
995
1021
  return self._federation_policy
996
1022
 
997
1023
  @property
998
- def groups(self) -> service.iam.AccountGroupsAPI:
1024
+ def groups(self) -> pkg_iam.AccountGroupsAPI:
999
1025
  """Groups simplify identity management, making it easier to assign access to Databricks account, data, and other securable objects."""
1000
1026
  return self._groups
1001
1027
 
1002
1028
  @property
1003
- def ip_access_lists(self) -> service.settings.AccountIpAccessListsAPI:
1029
+ def ip_access_lists(self) -> pkg_settings.AccountIpAccessListsAPI:
1004
1030
  """The Accounts IP Access List API enables account admins to configure IP access lists for access to the account console."""
1005
1031
  return self._ip_access_lists
1006
1032
 
1007
1033
  @property
1008
- def log_delivery(self) -> service.billing.LogDeliveryAPI:
1009
- """These APIs manage log delivery configurations for this account."""
1034
+ def log_delivery(self) -> pkg_billing.LogDeliveryAPI:
1035
+ """These APIs manage Log delivery configurations for this account."""
1010
1036
  return self._log_delivery
1011
1037
 
1012
1038
  @property
1013
- def metastore_assignments(self) -> service.catalog.AccountMetastoreAssignmentsAPI:
1039
+ def metastore_assignments(self) -> pkg_catalog.AccountMetastoreAssignmentsAPI:
1014
1040
  """These APIs manage metastore assignments to a workspace."""
1015
1041
  return self._metastore_assignments
1016
1042
 
1017
1043
  @property
1018
- def metastores(self) -> service.catalog.AccountMetastoresAPI:
1044
+ def metastores(self) -> pkg_catalog.AccountMetastoresAPI:
1019
1045
  """These APIs manage Unity Catalog metastores for an account."""
1020
1046
  return self._metastores
1021
1047
 
1022
1048
  @property
1023
- def network_connectivity(self) -> service.settings.NetworkConnectivityAPI:
1049
+ def network_connectivity(self) -> pkg_settings.NetworkConnectivityAPI:
1024
1050
  """These APIs provide configurations for the network connectivity of your workspaces for serverless compute resources."""
1025
1051
  return self._network_connectivity
1026
1052
 
1027
1053
  @property
1028
- def network_policies(self) -> service.settings.NetworkPoliciesAPI:
1054
+ def network_policies(self) -> pkg_settings.NetworkPoliciesAPI:
1029
1055
  """These APIs manage network policies for this account."""
1030
1056
  return self._network_policies
1031
1057
 
1032
1058
  @property
1033
- def networks(self) -> service.provisioning.NetworksAPI:
1059
+ def networks(self) -> pkg_provisioning.NetworksAPI:
1034
1060
  """These APIs manage network configurations for customer-managed VPCs (optional)."""
1035
1061
  return self._networks
1036
1062
 
1037
1063
  @property
1038
- def o_auth_published_apps(self) -> service.oauth2.OAuthPublishedAppsAPI:
1064
+ def o_auth_published_apps(self) -> pkg_oauth2.OAuthPublishedAppsAPI:
1039
1065
  """These APIs enable administrators to view all the available published OAuth applications in Databricks."""
1040
1066
  return self._o_auth_published_apps
1041
1067
 
1042
1068
  @property
1043
- def private_access(self) -> service.provisioning.PrivateAccessAPI:
1069
+ def private_access(self) -> pkg_provisioning.PrivateAccessAPI:
1044
1070
  """These APIs manage private access settings for this account."""
1045
1071
  return self._private_access
1046
1072
 
1047
1073
  @property
1048
- def published_app_integration(self) -> service.oauth2.PublishedAppIntegrationAPI:
1074
+ def published_app_integration(self) -> pkg_oauth2.PublishedAppIntegrationAPI:
1049
1075
  """These APIs enable administrators to manage published OAuth app integrations, which is required for adding/using Published OAuth App Integration like Tableau Desktop for Databricks in AWS cloud."""
1050
1076
  return self._published_app_integration
1051
1077
 
1052
1078
  @property
1053
- def service_principal_federation_policy(self) -> service.oauth2.ServicePrincipalFederationPolicyAPI:
1079
+ def service_principal_federation_policy(self) -> pkg_oauth2.ServicePrincipalFederationPolicyAPI:
1054
1080
  """These APIs manage service principal federation policies."""
1055
1081
  return self._service_principal_federation_policy
1056
1082
 
1057
1083
  @property
1058
- def service_principal_secrets(self) -> service.oauth2.ServicePrincipalSecretsAPI:
1084
+ def service_principal_secrets(self) -> pkg_oauth2.ServicePrincipalSecretsAPI:
1059
1085
  """These APIs enable administrators to manage service principal secrets."""
1060
1086
  return self._service_principal_secrets
1061
1087
 
1062
1088
  @property
1063
- def service_principals(self) -> service.iam.AccountServicePrincipalsAPI:
1089
+ def service_principals(self) -> pkg_iam.AccountServicePrincipalsAPI:
1064
1090
  """Identities for use with jobs, automated tools, and systems such as scripts, apps, and CI/CD platforms."""
1065
1091
  return self._service_principals
1066
1092
 
1067
1093
  @property
1068
- def settings(self) -> service.settings.AccountSettingsAPI:
1094
+ def settings(self) -> pkg_settings.AccountSettingsAPI:
1069
1095
  """Accounts Settings API allows users to manage settings at the account level."""
1070
1096
  return self._settings
1071
1097
 
1072
1098
  @property
1073
- def storage(self) -> service.provisioning.StorageAPI:
1099
+ def storage(self) -> pkg_provisioning.StorageAPI:
1074
1100
  """These APIs manage storage configurations for this workspace."""
1075
1101
  return self._storage
1076
1102
 
1077
1103
  @property
1078
- def storage_credentials(self) -> service.catalog.AccountStorageCredentialsAPI:
1104
+ def storage_credentials(self) -> pkg_catalog.AccountStorageCredentialsAPI:
1079
1105
  """These APIs manage storage credentials for a particular metastore."""
1080
1106
  return self._storage_credentials
1081
1107
 
1082
1108
  @property
1083
- def usage_dashboards(self) -> service.billing.UsageDashboardsAPI:
1109
+ def usage_dashboards(self) -> pkg_billing.UsageDashboardsAPI:
1084
1110
  """These APIs manage usage dashboards for this account."""
1085
1111
  return self._usage_dashboards
1086
1112
 
1087
1113
  @property
1088
- def users(self) -> service.iam.AccountUsersAPI:
1114
+ def users(self) -> pkg_iam.AccountUsersAPI:
1089
1115
  """User identities recognized by Databricks and represented by email addresses."""
1090
1116
  return self._users
1091
1117
 
1092
1118
  @property
1093
- def vpc_endpoints(self) -> service.provisioning.VpcEndpointsAPI:
1119
+ def vpc_endpoints(self) -> pkg_provisioning.VpcEndpointsAPI:
1094
1120
  """These APIs manage VPC endpoint configurations for this account."""
1095
1121
  return self._vpc_endpoints
1096
1122
 
1097
1123
  @property
1098
- def workspace_assignment(self) -> service.iam.WorkspaceAssignmentAPI:
1124
+ def workspace_assignment(self) -> pkg_iam.WorkspaceAssignmentAPI:
1099
1125
  """The Workspace Permission Assignment API allows you to manage workspace permissions for principals in your account."""
1100
1126
  return self._workspace_assignment
1101
1127
 
1102
1128
  @property
1103
- def workspace_network_configuration(self) -> service.settings.WorkspaceNetworkConfigurationAPI:
1104
- """These APIs allow configuration of network settings for Databricks workspaces."""
1129
+ def workspace_network_configuration(self) -> pkg_settings.WorkspaceNetworkConfigurationAPI:
1130
+ """These APIs allow configuration of network settings for Databricks workspaces by selecting which network policy to associate with the workspace."""
1105
1131
  return self._workspace_network_configuration
1106
1132
 
1107
1133
  @property
1108
- def workspaces(self) -> service.provisioning.WorkspacesAPI:
1134
+ def workspaces(self) -> pkg_provisioning.WorkspacesAPI:
1109
1135
  """These APIs manage workspaces for this account."""
1110
1136
  return self._workspaces
1111
1137
 
1112
1138
  @property
1113
- def budgets(self) -> service.billing.BudgetsAPI:
1139
+ def budgets(self) -> pkg_billing.BudgetsAPI:
1114
1140
  """These APIs manage budget configurations for this account."""
1115
1141
  return self._budgets
1116
1142