databricks-sdk 0.67.0__py3-none-any.whl → 0.68.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 (47) hide show
  1. databricks/sdk/__init__.py +8 -0
  2. databricks/sdk/_base_client.py +4 -1
  3. databricks/sdk/common/lro.py +17 -0
  4. databricks/sdk/common/types/__init__.py +0 -0
  5. databricks/sdk/common/types/fieldmask.py +39 -0
  6. databricks/sdk/credentials_provider.py +61 -12
  7. databricks/sdk/dbutils.py +5 -1
  8. databricks/sdk/errors/parser.py +8 -3
  9. databricks/sdk/mixins/files.py +1 -0
  10. databricks/sdk/oidc_token_supplier.py +80 -0
  11. databricks/sdk/retries.py +102 -2
  12. databricks/sdk/service/_internal.py +93 -1
  13. databricks/sdk/service/agentbricks.py +1 -1
  14. databricks/sdk/service/apps.py +264 -1
  15. databricks/sdk/service/billing.py +2 -3
  16. databricks/sdk/service/catalog.py +1026 -540
  17. databricks/sdk/service/cleanrooms.py +3 -3
  18. databricks/sdk/service/compute.py +21 -33
  19. databricks/sdk/service/dashboards.py +7 -3
  20. databricks/sdk/service/database.py +3 -2
  21. databricks/sdk/service/dataquality.py +1145 -0
  22. databricks/sdk/service/files.py +2 -1
  23. databricks/sdk/service/iam.py +2 -1
  24. databricks/sdk/service/iamv2.py +1 -1
  25. databricks/sdk/service/jobs.py +6 -9
  26. databricks/sdk/service/marketplace.py +3 -1
  27. databricks/sdk/service/ml.py +3 -1
  28. databricks/sdk/service/oauth2.py +1 -1
  29. databricks/sdk/service/pipelines.py +5 -6
  30. databricks/sdk/service/provisioning.py +544 -655
  31. databricks/sdk/service/qualitymonitorv2.py +1 -1
  32. databricks/sdk/service/serving.py +3 -1
  33. databricks/sdk/service/settings.py +5 -2
  34. databricks/sdk/service/settingsv2.py +1 -1
  35. databricks/sdk/service/sharing.py +12 -3
  36. databricks/sdk/service/sql.py +305 -70
  37. databricks/sdk/service/tags.py +1 -1
  38. databricks/sdk/service/vectorsearch.py +3 -1
  39. databricks/sdk/service/workspace.py +70 -17
  40. databricks/sdk/version.py +1 -1
  41. {databricks_sdk-0.67.0.dist-info → databricks_sdk-0.68.0.dist-info}/METADATA +4 -2
  42. databricks_sdk-0.68.0.dist-info/RECORD +83 -0
  43. databricks_sdk-0.67.0.dist-info/RECORD +0 -79
  44. {databricks_sdk-0.67.0.dist-info → databricks_sdk-0.68.0.dist-info}/WHEEL +0 -0
  45. {databricks_sdk-0.67.0.dist-info → databricks_sdk-0.68.0.dist-info}/licenses/LICENSE +0 -0
  46. {databricks_sdk-0.67.0.dist-info → databricks_sdk-0.68.0.dist-info}/licenses/NOTICE +0 -0
  47. {databricks_sdk-0.67.0.dist-info → databricks_sdk-0.68.0.dist-info}/top_level.txt +0 -0
@@ -7,7 +7,7 @@ from dataclasses import dataclass
7
7
  from enum import Enum
8
8
  from typing import Any, Dict, Iterator, List, Optional
9
9
 
10
- from ._internal import _enum, _from_dict, _repeated_dict
10
+ from databricks.sdk.service._internal import _enum, _from_dict, _repeated_dict
11
11
 
12
12
  _LOG = logging.getLogger("databricks.sdk")
13
13
 
@@ -13,8 +13,10 @@ from typing import Any, BinaryIO, Callable, Dict, Iterator, List, Optional
13
13
 
14
14
  import requests
15
15
 
16
+ from databricks.sdk.service._internal import (Wait, _enum, _from_dict,
17
+ _repeated_dict)
18
+
16
19
  from ..errors import OperationFailed
17
- from ._internal import Wait, _enum, _from_dict, _repeated_dict
18
20
 
19
21
  _LOG = logging.getLogger("databricks.sdk")
20
22
 
@@ -7,7 +7,8 @@ from dataclasses import dataclass
7
7
  from enum import Enum
8
8
  from typing import Any, Dict, Iterator, List, Optional
9
9
 
10
- from ._internal import _enum, _from_dict, _repeated_dict, _repeated_enum
10
+ from databricks.sdk.service._internal import (_enum, _from_dict,
11
+ _repeated_dict, _repeated_enum)
11
12
 
12
13
  _LOG = logging.getLogger("databricks.sdk")
13
14
 
@@ -660,7 +661,8 @@ class ComplianceSecurityProfileSetting:
660
661
 
661
662
 
662
663
  class ComplianceStandard(Enum):
663
- """Compliance stardard for SHIELD customers"""
664
+ """Compliance standard for SHIELD customers. See README.md for how instructions of how to add new
665
+ standards."""
664
666
 
665
667
  CANADA_PROTECTED_B = "CANADA_PROTECTED_B"
666
668
  CYBER_ESSENTIAL_PLUS = "CYBER_ESSENTIAL_PLUS"
@@ -668,6 +670,7 @@ class ComplianceStandard(Enum):
668
670
  FEDRAMP_IL5 = "FEDRAMP_IL5"
669
671
  FEDRAMP_MODERATE = "FEDRAMP_MODERATE"
670
672
  GERMANY_C5 = "GERMANY_C5"
673
+ GERMANY_TISAX = "GERMANY_TISAX"
671
674
  HIPAA = "HIPAA"
672
675
  HITRUST = "HITRUST"
673
676
  IRAP_PROTECTED = "IRAP_PROTECTED"
@@ -7,7 +7,7 @@ from dataclasses import dataclass
7
7
  from enum import Enum
8
8
  from typing import Any, Dict, Iterator, List, Optional
9
9
 
10
- from ._internal import _enum, _from_dict, _repeated_dict
10
+ from databricks.sdk.service._internal import _enum, _from_dict, _repeated_dict
11
11
 
12
12
  _LOG = logging.getLogger("databricks.sdk")
13
13
 
@@ -7,13 +7,13 @@ from dataclasses import dataclass
7
7
  from enum import Enum
8
8
  from typing import Any, Dict, Iterator, List, Optional
9
9
 
10
- from ._internal import _enum, _from_dict, _repeated_dict, _repeated_enum
10
+ from databricks.sdk.service import catalog
11
+ from databricks.sdk.service._internal import (_enum, _from_dict,
12
+ _repeated_dict, _repeated_enum)
11
13
 
12
14
  _LOG = logging.getLogger("databricks.sdk")
13
15
 
14
16
 
15
- from databricks.sdk.service import catalog
16
-
17
17
  # all definitions in this file are in alphabetical order
18
18
 
19
19
 
@@ -2310,6 +2310,10 @@ class TableInternalAttributes:
2310
2310
  auxiliary_managed_location: Optional[str] = None
2311
2311
  """Managed Delta Metadata location for foreign iceberg tables."""
2312
2312
 
2313
+ dependency_storage_locations: Optional[List[str]] = None
2314
+ """Storage locations of all table dependencies for shared views. Used on the recipient side for SEG
2315
+ (Secure Egress Gateway) whitelisting."""
2316
+
2313
2317
  parent_storage_location: Optional[str] = None
2314
2318
  """Will be populated in the reconciliation response for VIEW and FOREIGN_TABLE, with the value of
2315
2319
  the parent UC entity's storage_location, following the same logic as getManagedEntityPath in
@@ -2332,6 +2336,8 @@ class TableInternalAttributes:
2332
2336
  body = {}
2333
2337
  if self.auxiliary_managed_location is not None:
2334
2338
  body["auxiliary_managed_location"] = self.auxiliary_managed_location
2339
+ if self.dependency_storage_locations:
2340
+ body["dependency_storage_locations"] = [v for v in self.dependency_storage_locations]
2335
2341
  if self.parent_storage_location is not None:
2336
2342
  body["parent_storage_location"] = self.parent_storage_location
2337
2343
  if self.storage_location is not None:
@@ -2347,6 +2353,8 @@ class TableInternalAttributes:
2347
2353
  body = {}
2348
2354
  if self.auxiliary_managed_location is not None:
2349
2355
  body["auxiliary_managed_location"] = self.auxiliary_managed_location
2356
+ if self.dependency_storage_locations:
2357
+ body["dependency_storage_locations"] = self.dependency_storage_locations
2350
2358
  if self.parent_storage_location is not None:
2351
2359
  body["parent_storage_location"] = self.parent_storage_location
2352
2360
  if self.storage_location is not None:
@@ -2362,6 +2370,7 @@ class TableInternalAttributes:
2362
2370
  """Deserializes the TableInternalAttributes from a dictionary."""
2363
2371
  return cls(
2364
2372
  auxiliary_managed_location=d.get("auxiliary_managed_location", None),
2373
+ dependency_storage_locations=d.get("dependency_storage_locations", None),
2365
2374
  parent_storage_location=d.get("parent_storage_location", None),
2366
2375
  storage_location=d.get("storage_location", None),
2367
2376
  type=_enum(d, "type", TableInternalAttributesSharedTableType),