databricks-sdk 0.69.0__py3-none-any.whl → 0.71.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 (37) hide show
  1. databricks/sdk/__init__.py +24 -24
  2. databricks/sdk/dbutils.py +17 -0
  3. databricks/sdk/mixins/files.py +10 -10
  4. databricks/sdk/service/agentbricks.py +2 -0
  5. databricks/sdk/service/apps.py +10 -0
  6. databricks/sdk/service/billing.py +13 -3
  7. databricks/sdk/service/catalog.py +131 -47
  8. databricks/sdk/service/cleanrooms.py +11 -3
  9. databricks/sdk/service/compute.py +64 -0
  10. databricks/sdk/service/dashboards.py +10 -0
  11. databricks/sdk/service/database.py +12 -0
  12. databricks/sdk/service/dataquality.py +201 -52
  13. databricks/sdk/service/files.py +7 -72
  14. databricks/sdk/service/iam.py +26 -36
  15. databricks/sdk/service/iamv2.py +6 -0
  16. databricks/sdk/service/jobs.py +86 -154
  17. databricks/sdk/service/marketplace.py +18 -0
  18. databricks/sdk/service/ml.py +464 -13
  19. databricks/sdk/service/oauth2.py +37 -19
  20. databricks/sdk/service/pipelines.py +25 -2
  21. databricks/sdk/service/provisioning.py +19 -1
  22. databricks/sdk/service/qualitymonitorv2.py +2 -0
  23. databricks/sdk/service/serving.py +16 -21
  24. databricks/sdk/service/settings.py +45 -72
  25. databricks/sdk/service/settingsv2.py +2 -0
  26. databricks/sdk/service/sharing.py +23 -69
  27. databricks/sdk/service/sql.py +85 -62
  28. databricks/sdk/service/tags.py +2 -0
  29. databricks/sdk/service/vectorsearch.py +8 -0
  30. databricks/sdk/service/workspace.py +18 -91
  31. databricks/sdk/version.py +1 -1
  32. {databricks_sdk-0.69.0.dist-info → databricks_sdk-0.71.0.dist-info}/METADATA +1 -1
  33. {databricks_sdk-0.69.0.dist-info → databricks_sdk-0.71.0.dist-info}/RECORD +37 -37
  34. {databricks_sdk-0.69.0.dist-info → databricks_sdk-0.71.0.dist-info}/WHEEL +0 -0
  35. {databricks_sdk-0.69.0.dist-info → databricks_sdk-0.71.0.dist-info}/licenses/LICENSE +0 -0
  36. {databricks_sdk-0.69.0.dist-info → databricks_sdk-0.71.0.dist-info}/licenses/NOTICE +0 -0
  37. {databricks_sdk-0.69.0.dist-info → databricks_sdk-0.71.0.dist-info}/top_level.txt +0 -0
@@ -3,6 +3,7 @@
3
3
  from __future__ import annotations
4
4
 
5
5
  import logging
6
+ import uuid
6
7
  from dataclasses import dataclass
7
8
  from enum import Enum
8
9
  from typing import Any, Dict, Iterator, List, Optional
@@ -3032,6 +3033,7 @@ class ConsumerInstallationsAPI:
3032
3033
 
3033
3034
  :returns: :class:`Installation`
3034
3035
  """
3036
+
3035
3037
  body = {}
3036
3038
  if accepted_consumer_terms is not None:
3037
3039
  body["accepted_consumer_terms"] = accepted_consumer_terms.as_dict()
@@ -3156,6 +3158,7 @@ class ConsumerInstallationsAPI:
3156
3158
 
3157
3159
  :returns: :class:`UpdateInstallationResponse`
3158
3160
  """
3161
+
3159
3162
  body = {}
3160
3163
  if installation is not None:
3161
3164
  body["installation"] = installation.as_dict()
@@ -3377,6 +3380,7 @@ class ConsumerPersonalizationRequestsAPI:
3377
3380
 
3378
3381
  :returns: :class:`CreatePersonalizationRequestResponse`
3379
3382
  """
3383
+
3380
3384
  body = {}
3381
3385
  if accepted_consumer_terms is not None:
3382
3386
  body["accepted_consumer_terms"] = accepted_consumer_terms.as_dict()
@@ -3542,6 +3546,7 @@ class ProviderExchangeFiltersAPI:
3542
3546
 
3543
3547
  :returns: :class:`CreateExchangeFilterResponse`
3544
3548
  """
3549
+
3545
3550
  body = {}
3546
3551
  if filter is not None:
3547
3552
  body["filter"] = filter.as_dict()
@@ -3607,6 +3612,7 @@ class ProviderExchangeFiltersAPI:
3607
3612
 
3608
3613
  :returns: :class:`UpdateExchangeFilterResponse`
3609
3614
  """
3615
+
3610
3616
  body = {}
3611
3617
  if filter is not None:
3612
3618
  body["filter"] = filter.as_dict()
@@ -3633,6 +3639,7 @@ class ProviderExchangesAPI:
3633
3639
 
3634
3640
  :returns: :class:`AddExchangeForListingResponse`
3635
3641
  """
3642
+
3636
3643
  body = {}
3637
3644
  if exchange_id is not None:
3638
3645
  body["exchange_id"] = exchange_id
@@ -3653,6 +3660,7 @@ class ProviderExchangesAPI:
3653
3660
 
3654
3661
  :returns: :class:`CreateExchangeResponse`
3655
3662
  """
3663
+
3656
3664
  body = {}
3657
3665
  if exchange is not None:
3658
3666
  body["exchange"] = exchange.as_dict()
@@ -3810,6 +3818,7 @@ class ProviderExchangesAPI:
3810
3818
 
3811
3819
  :returns: :class:`UpdateExchangeResponse`
3812
3820
  """
3821
+
3813
3822
  body = {}
3814
3823
  if exchange is not None:
3815
3824
  body["exchange"] = exchange.as_dict()
@@ -3845,6 +3854,7 @@ class ProviderFilesAPI:
3845
3854
 
3846
3855
  :returns: :class:`CreateFileResponse`
3847
3856
  """
3857
+
3848
3858
  body = {}
3849
3859
  if display_name is not None:
3850
3860
  body["display_name"] = display_name
@@ -3938,6 +3948,7 @@ class ProviderListingsAPI:
3938
3948
 
3939
3949
  :returns: :class:`CreateListingResponse`
3940
3950
  """
3951
+
3941
3952
  body = {}
3942
3953
  if listing is not None:
3943
3954
  body["listing"] = listing.as_dict()
@@ -4013,6 +4024,7 @@ class ProviderListingsAPI:
4013
4024
 
4014
4025
  :returns: :class:`UpdateListingResponse`
4015
4026
  """
4027
+
4016
4028
  body = {}
4017
4029
  if listing is not None:
4018
4030
  body["listing"] = listing.as_dict()
@@ -4083,6 +4095,9 @@ class ProviderPersonalizationRequestsAPI:
4083
4095
 
4084
4096
  :returns: :class:`UpdatePersonalizationRequestResponse`
4085
4097
  """
4098
+
4099
+ if request_id is None or request_id == "":
4100
+ request_id = str(uuid.uuid4())
4086
4101
  body = {}
4087
4102
  if reason is not None:
4088
4103
  body["reason"] = reason
@@ -4164,6 +4179,7 @@ class ProviderProviderAnalyticsDashboardsAPI:
4164
4179
 
4165
4180
  :returns: :class:`UpdateProviderAnalyticsDashboardResponse`
4166
4181
  """
4182
+
4167
4183
  body = {}
4168
4184
  if version is not None:
4169
4185
  body["version"] = version
@@ -4189,6 +4205,7 @@ class ProviderProvidersAPI:
4189
4205
 
4190
4206
  :returns: :class:`CreateProviderResponse`
4191
4207
  """
4208
+
4192
4209
  body = {}
4193
4210
  if provider is not None:
4194
4211
  body["provider"] = provider.as_dict()
@@ -4264,6 +4281,7 @@ class ProviderProvidersAPI:
4264
4281
 
4265
4282
  :returns: :class:`UpdateProviderResponse`
4266
4283
  """
4284
+
4267
4285
  body = {}
4268
4286
  if provider is not None:
4269
4287
  body["provider"] = provider.as_dict()