databricks-sdk 0.149.0__tar.gz → 0.151.0__tar.gz

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.
Files changed (116) hide show
  1. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/CHANGELOG.md +12 -0
  2. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/PKG-INFO +1 -1
  3. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/service/agentkit.py +3 -2
  4. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/service/aisearch.py +3 -3
  5. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/service/apps.py +2 -0
  6. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/service/billing.py +1 -7
  7. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/service/bundledeployments.py +9 -11
  8. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/service/catalog.py +57 -8
  9. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/service/iamv2.py +6 -2
  10. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/service/ml.py +7 -21
  11. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/service/pipelines.py +24 -8
  12. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/service/vectorsearch.py +3 -0
  13. databricks_sdk-0.151.0/databricks/sdk/version.py +1 -0
  14. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks_sdk.egg-info/PKG-INFO +1 -1
  15. databricks_sdk-0.149.0/databricks/sdk/version.py +0 -1
  16. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/CONTRIBUTING.md +0 -0
  17. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/DCO +0 -0
  18. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/LICENSE +0 -0
  19. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/MANIFEST.in +0 -0
  20. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/Makefile +0 -0
  21. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/NOTICE +0 -0
  22. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/README.md +0 -0
  23. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/SECURITY.md +0 -0
  24. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/__init__.py +0 -0
  25. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/__init__.py +0 -0
  26. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/_base_client.py +0 -0
  27. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/_property.py +0 -0
  28. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/_sandbox_grpc/__init__.py +0 -0
  29. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/_sandbox_grpc/sandbox_service_pb2.py +0 -0
  30. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/_sandbox_grpc/sandbox_service_pb2_grpc.py +0 -0
  31. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/_widgets/__init__.py +0 -0
  32. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/_widgets/default_widgets_utils.py +0 -0
  33. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/_widgets/ipywidgets_utils.py +0 -0
  34. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/azure.py +0 -0
  35. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/casing.py +0 -0
  36. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/client_types.py +0 -0
  37. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/clock.py +0 -0
  38. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/common/lro.py +0 -0
  39. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/common/types/__init__.py +0 -0
  40. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/common/types/fieldmask.py +0 -0
  41. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/config.py +0 -0
  42. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/core.py +0 -0
  43. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/credentials_provider.py +0 -0
  44. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/data_plane.py +0 -0
  45. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/dbutils.py +0 -0
  46. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/environments.py +0 -0
  47. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/errors/__init__.py +0 -0
  48. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/errors/base.py +0 -0
  49. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/errors/customizer.py +0 -0
  50. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/errors/deserializer.py +0 -0
  51. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/errors/details.py +0 -0
  52. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/errors/mapper.py +0 -0
  53. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/errors/overrides.py +0 -0
  54. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/errors/parser.py +0 -0
  55. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/errors/platform.py +0 -0
  56. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/errors/private_link.py +0 -0
  57. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/errors/sdk.py +0 -0
  58. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/logger/__init__.py +0 -0
  59. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/logger/round_trip_logger.py +0 -0
  60. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/mixins/__init__.py +0 -0
  61. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/mixins/_grpc_transport.py +0 -0
  62. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/mixins/compute.py +0 -0
  63. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/mixins/files.py +0 -0
  64. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/mixins/files_utils.py +0 -0
  65. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/mixins/jobs.py +0 -0
  66. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/mixins/open_ai_client.py +0 -0
  67. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/mixins/sandbox.py +0 -0
  68. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/mixins/sharing.py +0 -0
  69. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/mixins/workspace.py +0 -0
  70. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/oauth.py +0 -0
  71. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/oidc.py +0 -0
  72. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/oidc_token_supplier.py +0 -0
  73. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/py.typed +0 -0
  74. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/retries.py +0 -0
  75. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/runtime/__init__.py +0 -0
  76. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/runtime/dbutils_stub.py +0 -0
  77. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/service/__init__.py +0 -0
  78. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/service/_internal.py +0 -0
  79. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/service/agentbricks.py +0 -0
  80. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/service/aifunctions.py +0 -0
  81. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/service/bundle.py +0 -0
  82. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/service/cleanrooms.py +0 -0
  83. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/service/compute.py +0 -0
  84. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/service/dashboards.py +0 -0
  85. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/service/database.py +0 -0
  86. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/service/dataclassification.py +0 -0
  87. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/service/dataquality.py +0 -0
  88. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/service/disasterrecovery.py +0 -0
  89. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/service/domains.py +0 -0
  90. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/service/environments.py +0 -0
  91. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/service/files.py +0 -0
  92. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/service/iam.py +0 -0
  93. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/service/jobs.py +0 -0
  94. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/service/knowledgeassistants.py +0 -0
  95. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/service/marketplace.py +0 -0
  96. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/service/networking.py +0 -0
  97. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/service/oauth2.py +0 -0
  98. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/service/postgres.py +0 -0
  99. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/service/provisioning.py +0 -0
  100. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/service/qualitymonitorv2.py +0 -0
  101. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/service/sandbox.py +0 -0
  102. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/service/serving.py +0 -0
  103. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/service/settings.py +0 -0
  104. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/service/settingsv2.py +0 -0
  105. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/service/sharing.py +0 -0
  106. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/service/sql.py +0 -0
  107. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/service/supervisoragents.py +0 -0
  108. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/service/tags.py +0 -0
  109. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/service/workspace.py +0 -0
  110. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks/sdk/useragent.py +0 -0
  111. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks_sdk.egg-info/SOURCES.txt +0 -0
  112. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks_sdk.egg-info/dependency_links.txt +0 -0
  113. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks_sdk.egg-info/requires.txt +0 -0
  114. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/databricks_sdk.egg-info/top_level.txt +0 -0
  115. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/pyproject.toml +0 -0
  116. {databricks_sdk-0.149.0 → databricks_sdk-0.151.0}/setup.cfg +0 -0
@@ -1,5 +1,17 @@
1
1
  # Version changelog
2
2
 
3
+ ## Release v0.151.0 (2026-10-10)
4
+
5
+ ### API Changes
6
+ * Add `model_service` enum value for `databricks.sdk.service.apps.AppManifestAppResourceUcSecurableSpecUcSecurableType`.
7
+ * Add `model_service` enum value for `databricks.sdk.service.apps.AppResourceUcSecurableUcSecurableType`.
8
+
9
+ ## Release v0.150.0 (2026-10-09)
10
+
11
+ ### API Changes
12
+ * Add `bedrock_mantle` and `pricing` fields for `databricks.sdk.service.catalog.ModelProviderServiceConfig`.
13
+ * Add `external_model_provider_type_bedrock_mantle` enum value for `databricks.sdk.service.catalog.ModelProviderServiceConfigExternalModelProviderType`.
14
+
3
15
  ## Release v0.149.0 (2026-10-08)
4
16
 
5
17
  ### API Changes
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: databricks-sdk
3
- Version: 0.149.0
3
+ Version: 0.151.0
4
4
  Summary: Databricks SDK for Python (Beta)
5
5
  Project-URL: Documentation, https://databricks-sdk-py.readthedocs.io
6
6
  Keywords: databricks,sdk
@@ -1725,14 +1725,15 @@ class AgentKitAPI:
1725
1725
  def update_memory_store(
1726
1726
  self, name: str, managed_memory_store: ManagedMemoryStore, update_mask: FieldMask
1727
1727
  ) -> ManagedMemoryStore:
1728
- """Updates a managed memory store's description.
1728
+ """Updates a managed memory store's description and metadata.
1729
1729
 
1730
1730
  :param name: str
1731
1731
  Resource name in the form ``memory-stores/{managed_memory_store_id}``.
1732
1732
  :param managed_memory_store: :class:`ManagedMemoryStore`
1733
1733
  The managed memory store to update. ``name`` is taken from the URL.
1734
1734
  :param update_mask: FieldMask
1735
- Only ``description`` may be updated.
1735
+ Only ``description`` and ``metadata`` may be updated. Selecting ``metadata`` replaces the entire
1736
+ map.
1736
1737
 
1737
1738
  :returns: :class:`ManagedMemoryStore`
1738
1739
  """
@@ -517,8 +517,8 @@ class Endpoint:
517
517
 
518
518
  @dataclass
519
519
  class EndpointScalingInfo:
520
- """Scaling information for a Storage Optimized endpoint — current scaling state and the requested
521
- QPS target the system is scaling toward."""
520
+ """Scaling information for a Standard endpoint: the current scaling state, the requested QPS
521
+ target, and the progress of an in-progress scaling change."""
522
522
 
523
523
  requested_target_qps: Optional[int] = None
524
524
  """The requested QPS target for the endpoint. Best-effort; the system does not guarantee this QPS
@@ -1245,7 +1245,7 @@ class ResultManifest:
1245
1245
 
1246
1246
 
1247
1247
  class ScalingChangeState(Enum):
1248
- """State of the most recent scaling change request for a Storage Optimized endpoint."""
1248
+ """State of the most recent scaling change request for a Standard endpoint."""
1249
1249
 
1250
1250
  SCALING_CHANGE_APPLIED = "SCALING_CHANGE_APPLIED"
1251
1251
  SCALING_CHANGE_IN_PROGRESS = "SCALING_CHANGE_IN_PROGRESS"
@@ -1017,6 +1017,7 @@ class AppManifestAppResourceUcSecurableSpecUcSecurablePermission(Enum):
1017
1017
  class AppManifestAppResourceUcSecurableSpecUcSecurableType(Enum):
1018
1018
  CONNECTION = "CONNECTION"
1019
1019
  FUNCTION = "FUNCTION"
1020
+ MODEL_SERVICE = "MODEL_SERVICE"
1020
1021
  TABLE = "TABLE"
1021
1022
  VOLUME = "VOLUME"
1022
1023
 
@@ -1689,6 +1690,7 @@ class AppResourceUcSecurableUcSecurablePermission(Enum):
1689
1690
  class AppResourceUcSecurableUcSecurableType(Enum):
1690
1691
  CONNECTION = "CONNECTION"
1691
1692
  FUNCTION = "FUNCTION"
1693
+ MODEL_SERVICE = "MODEL_SERVICE"
1692
1694
  TABLE = "TABLE"
1693
1695
  VOLUME = "VOLUME"
1694
1696
 
@@ -1639,13 +1639,7 @@ class BillableUsageAPI:
1639
1639
  self._api = api_client
1640
1640
 
1641
1641
  def download(self, start_month: str, end_month: str, *, personal_data: Optional[bool] = None) -> DownloadResponse:
1642
- """Returns billable usage logs in CSV format for the specified account and date range. For the data
1643
- schema, see:
1644
-
1645
- - AWS: `CSV file schema
1646
- <https://docs.databricks.com/administration-guide/account-settings/usage-analysis.html#schema>`__.
1647
- - GCP: `CSV file schema
1648
- <https://docs.gcp.databricks.com/administration-guide/account-settings/usage-analysis.html#csv-file-schema>`__.
1642
+ """Returns billable usage logs in CSV format for the specified account and date range.
1649
1643
 
1650
1644
  Note that this method might take multiple minutes to complete.
1651
1645
 
@@ -560,19 +560,18 @@ class Operation:
560
560
 
561
561
  state: Optional[str] = None
562
562
  """Serialized local config state after the operation. Its presence records whether the resource
563
- still exists, so an operation that records no state removes its resource from the deployment. It
564
- may be unset only for an operation that left no resource behind: a ``DELETE`` that succeeded, or
565
- a ``CREATE`` or ``RECREATE`` that failed. It is required otherwise, including for a failed
566
- ``DELETE``, whose resource survives.
563
+ still exists. Explicitly clearing state removes the resource; omitting it from the update mask
564
+ leaves resource state unchanged. State is stored only on Resources. UpdateOperation accepts
565
+ state but omits it from its response, as do subsequent GetOperation and ListOperations.
567
566
 
568
567
  Mutable: may be updated after creation via UpdateOperation. When updating, the caller must echo
569
568
  the last-observed ``sequence_id`` as a concurrency precondition.
570
569
 
571
- Opaque to this service: the string is stored and returned unchanged. This is deliberately not
572
- google.protobuf.Value, whose only numeric case is ``double number_value``, so parsing the
573
- client's JSON into it rewrites every integer as a double - ``1`` reads back as ``1.0``, which no
574
- longer deserializes into an integer field - and silently loses precision above 2^53, which is
575
- within range for IDs the client records.
570
+ The string is not parsed; it is projected onto the corresponding Resource's state. It is
571
+ deliberately not google.protobuf.Value, whose only numeric case is ``double number_value``, so
572
+ parsing the client's JSON into it rewrites every integer as a double - ``1`` reads back as
573
+ ``1.0``, which no longer deserializes into an integer field - and silently loses precision above
574
+ 2^53, which is within range for IDs the client records.
576
575
 
577
576
  A string rather than bytes: the payload is always UTF-8 JSON, and proto3 JSON maps bytes to
578
577
  base64, which inflates every request and response by a third and makes state unreadable in logs
@@ -582,8 +581,7 @@ class Operation:
582
581
  status: Optional[OperationStatus] = None
583
582
  """Status of the operation. Starts as OPERATION_STATUS_PENDING when the version is created and
584
583
  moves to a terminal status once the resource is applied. Mutable: updated via UpdateOperation,
585
- e.g. when an operation recorded as failed is retried and eventually succeeds. A succeeded
586
- operation cannot carry an ``error_message``."""
584
+ e.g. when an operation recorded as failed is retried and eventually succeeds."""
587
585
 
588
586
  update_time: Optional[Timestamp] = None
589
587
  """When the operation was last updated. Set to ``create_time`` when the operation is created and to
@@ -7498,6 +7498,8 @@ class ModelProviderServiceConfig:
7498
7498
 
7499
7499
  azure_openai: Optional[ModelProviderServiceConfigAzureOpenAiProviderConfig] = None
7500
7500
 
7501
+ bedrock_mantle: Optional[ModelProviderServiceConfigAmazonBedrockProviderConfig] = None
7502
+
7501
7503
  custom: Optional[ModelProviderServiceConfigCustomProviderConfig] = None
7502
7504
 
7503
7505
  forward_headers: Optional[bool] = None
@@ -7525,6 +7527,10 @@ class ModelProviderServiceConfig:
7525
7527
 
7526
7528
  openai: Optional[ModelProviderServiceConfigOpenAiProviderConfig] = None
7527
7529
 
7530
+ pricing: Optional[ModelProviderServiceConfigProviderPricingConfig] = None
7531
+ """Pricing configuration for this provider service. An explicitly empty configuration is retained
7532
+ on Create and Update and applies no adjustment."""
7533
+
7528
7534
  provider_type: Optional[ModelProviderServiceConfigExternalModelProviderType] = None
7529
7535
  """External model provider. Required on Create and immutable thereafter. Set the matching
7530
7536
  provider-specific configuration, such as ``openai``, ``azure_openai``, or ``amazon_bedrock``."""
@@ -7551,6 +7557,8 @@ class ModelProviderServiceConfig:
7551
7557
  body["anthropic"] = self.anthropic.as_dict()
7552
7558
  if self.azure_openai:
7553
7559
  body["azure_openai"] = self.azure_openai.as_dict()
7560
+ if self.bedrock_mantle:
7561
+ body["bedrock_mantle"] = self.bedrock_mantle.as_dict()
7554
7562
  if self.custom:
7555
7563
  body["custom"] = self.custom.as_dict()
7556
7564
  if self.forward_headers is not None:
@@ -7567,6 +7575,8 @@ class ModelProviderServiceConfig:
7567
7575
  body["microsoft_foundry"] = self.microsoft_foundry.as_dict()
7568
7576
  if self.openai:
7569
7577
  body["openai"] = self.openai.as_dict()
7578
+ if self.pricing:
7579
+ body["pricing"] = self.pricing.as_dict()
7570
7580
  if self.provider_type is not None:
7571
7581
  body["provider_type"] = self.provider_type.value
7572
7582
  if self.rate_limits:
@@ -7586,6 +7596,8 @@ class ModelProviderServiceConfig:
7586
7596
  body["anthropic"] = self.anthropic
7587
7597
  if self.azure_openai:
7588
7598
  body["azure_openai"] = self.azure_openai
7599
+ if self.bedrock_mantle:
7600
+ body["bedrock_mantle"] = self.bedrock_mantle
7589
7601
  if self.custom:
7590
7602
  body["custom"] = self.custom
7591
7603
  if self.forward_headers is not None:
@@ -7602,6 +7614,8 @@ class ModelProviderServiceConfig:
7602
7614
  body["microsoft_foundry"] = self.microsoft_foundry
7603
7615
  if self.openai:
7604
7616
  body["openai"] = self.openai
7617
+ if self.pricing:
7618
+ body["pricing"] = self.pricing
7605
7619
  if self.provider_type is not None:
7606
7620
  body["provider_type"] = self.provider_type
7607
7621
  if self.rate_limits:
@@ -7618,6 +7632,7 @@ class ModelProviderServiceConfig:
7618
7632
  amazon_bedrock=_from_dict(d, "amazon_bedrock", ModelProviderServiceConfigAmazonBedrockProviderConfig),
7619
7633
  anthropic=_from_dict(d, "anthropic", ModelProviderServiceConfigAnthropicProviderConfig),
7620
7634
  azure_openai=_from_dict(d, "azure_openai", ModelProviderServiceConfigAzureOpenAiProviderConfig),
7635
+ bedrock_mantle=_from_dict(d, "bedrock_mantle", ModelProviderServiceConfigAmazonBedrockProviderConfig),
7621
7636
  custom=_from_dict(d, "custom", ModelProviderServiceConfigCustomProviderConfig),
7622
7637
  forward_headers=d.get("forward_headers", None),
7623
7638
  forward_query_parameters=d.get("forward_query_parameters", None),
@@ -7630,6 +7645,7 @@ class ModelProviderServiceConfig:
7630
7645
  d, "microsoft_foundry", ModelProviderServiceConfigMicrosoftFoundryProviderConfig
7631
7646
  ),
7632
7647
  openai=_from_dict(d, "openai", ModelProviderServiceConfigOpenAiProviderConfig),
7648
+ pricing=_from_dict(d, "pricing", ModelProviderServiceConfigProviderPricingConfig),
7633
7649
  provider_type=_enum(d, "provider_type", ModelProviderServiceConfigExternalModelProviderType),
7634
7650
  rate_limits=_repeated_dict(d, "rate_limits", RateLimit),
7635
7651
  targets=_repeated_dict(d, "targets", ModelProviderServiceConfigModelTargetConfig),
@@ -8119,6 +8135,7 @@ class ModelProviderServiceConfigExternalModelProviderType(Enum):
8119
8135
  EXTERNAL_MODEL_PROVIDER_TYPE_AMAZON_BEDROCK = "EXTERNAL_MODEL_PROVIDER_TYPE_AMAZON_BEDROCK"
8120
8136
  EXTERNAL_MODEL_PROVIDER_TYPE_ANTHROPIC = "EXTERNAL_MODEL_PROVIDER_TYPE_ANTHROPIC"
8121
8137
  EXTERNAL_MODEL_PROVIDER_TYPE_AZURE_OPENAI = "EXTERNAL_MODEL_PROVIDER_TYPE_AZURE_OPENAI"
8138
+ EXTERNAL_MODEL_PROVIDER_TYPE_BEDROCK_MANTLE = "EXTERNAL_MODEL_PROVIDER_TYPE_BEDROCK_MANTLE"
8122
8139
  EXTERNAL_MODEL_PROVIDER_TYPE_CUSTOM = "EXTERNAL_MODEL_PROVIDER_TYPE_CUSTOM"
8123
8140
  EXTERNAL_MODEL_PROVIDER_TYPE_GEMINI_ENTERPRISE = "EXTERNAL_MODEL_PROVIDER_TYPE_GEMINI_ENTERPRISE"
8124
8141
  EXTERNAL_MODEL_PROVIDER_TYPE_MICROSOFT_FOUNDRY = "EXTERNAL_MODEL_PROVIDER_TYPE_MICROSOFT_FOUNDRY"
@@ -8438,6 +8455,35 @@ class ModelProviderServiceConfigOpenAiProviderDirectConfig:
8438
8455
  )
8439
8456
 
8440
8457
 
8458
+ @dataclass
8459
+ class ModelProviderServiceConfigProviderPricingConfig:
8460
+ """Pricing adjustments applied to this provider service's external-model spend estimates."""
8461
+
8462
+ default_discount_basis_points: Optional[int] = None
8463
+ """Provider-wide adjustment to external-model spend estimates in basis points: 2000 = 20% off;
8464
+ -2000 = a 20% markup. Negative values have no lower bound beyond the int32 range. Values cannot
8465
+ exceed 10000 (100% off). An omitted value or zero leaves the estimate unchanged."""
8466
+
8467
+ def as_dict(self) -> dict:
8468
+ """Serializes the ModelProviderServiceConfigProviderPricingConfig into a dictionary suitable for use as a JSON request body."""
8469
+ body = {}
8470
+ if self.default_discount_basis_points is not None:
8471
+ body["default_discount_basis_points"] = self.default_discount_basis_points
8472
+ return body
8473
+
8474
+ def as_shallow_dict(self) -> dict:
8475
+ """Serializes the ModelProviderServiceConfigProviderPricingConfig into a shallow dictionary of its immediate attributes."""
8476
+ body = {}
8477
+ if self.default_discount_basis_points is not None:
8478
+ body["default_discount_basis_points"] = self.default_discount_basis_points
8479
+ return body
8480
+
8481
+ @classmethod
8482
+ def from_dict(cls, d: Dict[str, Any]) -> ModelProviderServiceConfigProviderPricingConfig:
8483
+ """Deserializes the ModelProviderServiceConfigProviderPricingConfig from a dictionary."""
8484
+ return cls(default_discount_basis_points=d.get("default_discount_basis_points", None))
8485
+
8486
+
8441
8487
  @dataclass
8442
8488
  class ModelProviderServiceConfigProviderSecret:
8443
8489
  """A secret value supplied as part of an inline provider config. The caller supplies the value as
@@ -14719,7 +14765,7 @@ class AiGatewayAPI:
14719
14765
  returned.
14720
14766
 
14721
14767
  :param page_size: int (optional)
14722
- Maximum number of MCP services to return. Defaults to 100 when unset or 0; the maximum is 100. Use
14768
+ Maximum number of MCP services to return. Defaults to 100 when unset or 0; the maximum is 200. Use
14723
14769
  ``page_token`` to retrieve additional pages.
14724
14770
  :param page_token: str (optional)
14725
14771
  Opaque pagination token from the previous response.
@@ -14777,7 +14823,7 @@ class AiGatewayAPI:
14777
14823
  ``MANAGE``) are returned.
14778
14824
 
14779
14825
  :param page_size: int (optional)
14780
- Maximum number of provider services to return. Defaults to 100 when unset or 0; the maximum is 100.
14826
+ Maximum number of provider services to return. Defaults to 100 when unset or 0; the maximum is 200.
14781
14827
  Use ``page_token`` to retrieve additional pages.
14782
14828
  :param page_token: str (optional)
14783
14829
  Opaque pagination token from the previous response.
@@ -14835,7 +14881,7 @@ class AiGatewayAPI:
14835
14881
  returned.
14836
14882
 
14837
14883
  :param page_size: int (optional)
14838
- Maximum number of model services to return. Defaults to 100 when unset or 0; the maximum is 100. Use
14884
+ Maximum number of model services to return. Defaults to 100 when unset or 0; the maximum is 200. Use
14839
14885
  ``page_token`` to retrieve additional pages.
14840
14886
  :param page_token: str (optional)
14841
14887
  Opaque pagination token from the previous response.
@@ -14893,7 +14939,7 @@ class AiGatewayAPI:
14893
14939
  Required: skill listing is schema-scoped, so ``parent`` must be set; an unset or empty ``parent`` is
14894
14940
  rejected with INVALID_PARAMETER_VALUE.
14895
14941
  :param page_size: int (optional)
14896
- Maximum number of skills to return. Defaults to 100 when unset or 0; the maximum is 100. Use
14942
+ Maximum number of skills to return. Defaults to 100 when unset or 0; the maximum is 200. Use
14897
14943
  ``page_token`` to retrieve additional pages.
14898
14944
  :param page_token: str (optional)
14899
14945
  Opaque pagination token from a previous request.
@@ -15008,10 +15054,13 @@ class AiGatewayAPI:
15008
15054
  more granular paths: ``comment``; ``config.provider`` to replace the active provider-specific value
15009
15055
  (for example, ``config.openai``; the mask path remains ``config.provider``);
15010
15056
  ``config.allow_all_targets``, ``config.targets``, ``config.forward_headers``,
15011
- ``config.forward_query_parameters``, ``config.forward_unmanaged_paths``, ``config.rate_limits``, or
15012
- ``config.inference_table``. The provider type is immutable. A ``config`` or ``config.provider``
15013
- replacement that carries no authentication material preserves the existing authentication binding;
15014
- input-only plaintext does not need to be read back and re-sent.
15057
+ ``config.forward_query_parameters``, ``config.forward_unmanaged_paths``, ``config.rate_limits``,
15058
+ ``config.pricing.default_discount_basis_points``, or ``config.inference_table``. For a pricing
15059
+ update, an explicitly empty ``pricing`` object clears the discount but retains the object; omitting
15060
+ ``pricing`` clears it. ``config.pricing`` is not a supported mask path. The provider type is
15061
+ immutable. A ``config`` or ``config.provider`` replacement that carries no authentication material
15062
+ preserves the existing authentication binding; input-only plaintext does not need to be read back
15063
+ and re-sent.
15015
15064
  :param etag: str (optional)
15016
15065
  Optimistic concurrency token from the most recent read. When set, the update succeeds only if the
15017
15066
  resource has not changed. Leave unset for an unconditional update. For REST requests, URL-encode the
@@ -2475,7 +2475,9 @@ class AccountIamV2API:
2475
2475
  modified. Returns the updated Group resource.
2476
2476
 
2477
2477
  When AIM is enabled and the group is an external identity (its external_id is set), only external_id
2478
- can be updated; its other fields are sourced from your identity provider.
2478
+ can be updated; its other fields are sourced from your identity provider. With AIM and group
2479
+ visibility filters, a new nonempty external_id must identify a visible group. Clearing external_id is
2480
+ allowed.
2479
2481
 
2480
2482
  Authorization: the caller must be an account admin or a manager of the group (holds the
2481
2483
  ``roles/group.manager`` role on it).
@@ -3575,7 +3577,9 @@ class WorkspaceIamV2API:
3575
3577
  fields named in the update mask are modified. Returns the updated Group resource.
3576
3578
 
3577
3579
  When AIM is enabled and the group is an external identity (its external_id is set), only external_id
3578
- can be updated; its other fields are sourced from your identity provider.
3580
+ can be updated; its other fields are sourced from your identity provider. With AIM and group
3581
+ visibility filters, a new nonempty external_id must identify a visible group. Clearing external_id is
3582
+ allowed.
3579
3583
 
3580
3584
  :param group_id: str
3581
3585
  Required. Internal ID of the group in Databricks.
@@ -1768,8 +1768,7 @@ class DeltaTableSource:
1768
1768
 
1769
1769
  @dataclass
1770
1770
  class DirectMtlsConfig:
1771
- """Direct connection configs for mTLS, as Kafka Connections do not support mTLS yet . Temporarily
1772
- used until UC Kafka Connections gain mTLS support."""
1771
+ """Direct connection configs for mTLS, as Kafka Connections do not support mTLS yet."""
1773
1772
 
1774
1773
  bootstrap_servers: str
1775
1774
  """A comma-separated list of host:port pairs for the Kafka bootstrap servers."""
@@ -2340,9 +2339,7 @@ class ExperimentTraceLocation:
2340
2339
  @dataclass
2341
2340
  class Feature:
2342
2341
  full_name: str
2343
- """The full three-part name (catalog, schema, name) of the feature. This is the feature's resource
2344
- identifier; the catalog_name, schema_name, and name fields below are OUTPUT_ONLY decomposed
2345
- views of this value."""
2342
+ """The full three-part name (catalog, schema, name) of the feature."""
2346
2343
 
2347
2344
  source: DataSource
2348
2345
  """The data source of the feature."""
@@ -6104,13 +6101,7 @@ class MtlsConfig:
6104
6101
  and truststore (CAs trusted to verify the broker) live as JKS files on Unity Catalog volumes,
6105
6102
  with their passwords stored in Databricks secret scopes. This matches the SSL setup pattern
6106
6103
  documented at
6107
- https://docs.databricks.com/en/connect/streaming/kafka/authentication#use-ssl-to-connect-databricks-to-kafka.
6108
-
6109
- At materialization time, the generated PySpark code passes the JKS file paths and resolved
6110
- passwords through to the Kafka SSL options (kafka.ssl.keystore.location,
6111
- kafka.ssl.keystore.password, kafka.ssl.key.password, kafka.ssl.truststore.location,
6112
- kafka.ssl.truststore.password). Passwords are resolved on the Spark cluster via
6113
- dbutils.secrets.get; this message stores only references, never password values."""
6104
+ https://docs.databricks.com/en/connect/streaming/kafka/authentication#use-ssl-to-connect-databricks-to-kafka."""
6114
6105
 
6115
6106
  keystore_location: str
6116
6107
  """Unity Catalog volume path to the JKS keystore file containing the client certificate and private
@@ -8174,8 +8165,7 @@ class SearchRunsResponse:
8174
8165
 
8175
8166
  @dataclass
8176
8167
  class SecretScopeReference:
8177
- """Reference to an entry in a Databricks secret scope. The referenced value is fetched on the Spark
8178
- cluster at materialization time via dbutils.secrets.get(scope, key)."""
8168
+ """Reference to an entry in a Databricks secret scope."""
8179
8169
 
8180
8170
  scope: str
8181
8171
  """The Databricks secret scope name."""
@@ -8457,7 +8447,7 @@ class StddevSampFunction:
8457
8447
  @dataclass
8458
8448
  class Stream:
8459
8449
  """A Stream is a governed UC entity representing an external streaming data source. The
8460
- source_config oneof determines the streaming platform source (e.g. Kafka, Kinesis, etc.)."""
8450
+ source_config field determines the streaming platform source (e.g. Kafka, Kinesis)."""
8461
8451
 
8462
8452
  name: str
8463
8453
  """Full three-part (catalog.schema.stream) name of the stream."""
@@ -8624,9 +8614,7 @@ class StreamConnectionConfig:
8624
8614
  """Specifies how to connect and authenticate to the stream platform."""
8625
8615
 
8626
8616
  direct_mtls_config: Optional[DirectMtlsConfig] = None
8627
- """Direct mTLS configuration for stream platform access. This is only used in the short term until
8628
- UC Kafka Connections support mTLS . Once UC Kafka Connections support mTLS, this will be
8629
- deprecated."""
8617
+ """Direct mTLS configuration for stream platform access."""
8630
8618
 
8631
8619
  uc_connection_name: Optional[str] = None
8632
8620
  """Name of an existing UC Connection for stream platform access. Must be the correct type for the
@@ -11582,9 +11570,7 @@ class FeatureEngineeringAPI:
11582
11570
  """Update a Feature.
11583
11571
 
11584
11572
  :param full_name: str
11585
- The full three-part name (catalog, schema, name) of the feature. This is the feature's resource
11586
- identifier; the catalog_name, schema_name, and name fields below are OUTPUT_ONLY decomposed views of
11587
- this value.
11573
+ The full three-part name (catalog, schema, name) of the feature.
11588
11574
  :param feature: :class:`Feature`
11589
11575
  Feature whose full_name identifies the target. Only description is mutable.
11590
11576
  :param update_mask: str
@@ -3692,7 +3692,8 @@ class PipelineSpec:
3692
3692
  """SDP Release Channel that specifies which version to use."""
3693
3693
 
3694
3694
  clusters: Optional[List[PipelineCluster]] = None
3695
- """Cluster settings for this pipeline deployment."""
3695
+ """Cluster settings for this pipeline deployment. Applies to classic (non-serverless) pipelines.
3696
+ Omit this field when ``serverless`` is ``true``."""
3696
3697
 
3697
3698
  configuration: Optional[Dict[str, str]] = None
3698
3699
  """String-String configuration for this pipeline execution."""
@@ -3763,7 +3764,10 @@ class PipelineSpec:
3763
3764
  """The default schema (database) where tables are read from or published to."""
3764
3765
 
3765
3766
  serverless: Optional[bool] = None
3766
- """Whether serverless compute is enabled for this pipeline."""
3767
+ """Whether serverless compute is enabled for this pipeline. Serverless is the recommended compute
3768
+ for new pipelines; set this to ``true`` to run the pipeline on serverless. For notebook/file
3769
+ pipelines, omitting this field uses classic compute configured through the ``clusters`` field.
3770
+ When ``true``, omit ``clusters``; Photon is always enabled."""
3767
3771
 
3768
3772
  serverless_compute_id: Optional[str] = None
3769
3773
  """Serverless compute ID specified by the user for serverless pipelines."""
@@ -6075,7 +6079,8 @@ class PipelinesAPI:
6075
6079
  :param clone_mode: :class:`CloneMode` (optional)
6076
6080
  The type of clone to perform. Currently, only deep copies are supported
6077
6081
  :param clusters: List[:class:`PipelineCluster`] (optional)
6078
- Cluster settings for this pipeline deployment.
6082
+ Cluster settings for this pipeline deployment. Applies to classic (non-serverless) pipelines. Omit
6083
+ this field when ``serverless`` is ``true``.
6079
6084
  :param configuration: Dict[str,str] (optional)
6080
6085
  String-String configuration for this pipeline execution.
6081
6086
  :param continuous: bool (optional)
@@ -6129,7 +6134,10 @@ class PipelinesAPI:
6129
6134
  :param schema: str (optional)
6130
6135
  The default schema (database) where tables are read from or published to.
6131
6136
  :param serverless: bool (optional)
6132
- Whether serverless compute is enabled for this pipeline.
6137
+ Whether serverless compute is enabled for this pipeline. Serverless is the recommended compute for
6138
+ new pipelines; set this to ``true`` to run the pipeline on serverless. For notebook/file pipelines,
6139
+ omitting this field uses classic compute configured through the ``clusters`` field. When ``true``,
6140
+ omit ``clusters``; Photon is always enabled.
6133
6141
  :param serverless_compute_id: str (optional)
6134
6142
  Serverless compute ID specified by the user for serverless pipelines.
6135
6143
  :param storage: str (optional)
@@ -6281,7 +6289,8 @@ class PipelinesAPI:
6281
6289
  :param channel: str (optional)
6282
6290
  SDP Release Channel that specifies which version to use.
6283
6291
  :param clusters: List[:class:`PipelineCluster`] (optional)
6284
- Cluster settings for this pipeline deployment.
6292
+ Cluster settings for this pipeline deployment. Applies to classic (non-serverless) pipelines. Omit
6293
+ this field when ``serverless`` is ``true``.
6285
6294
  :param configuration: Dict[str,str] (optional)
6286
6295
  String-String configuration for this pipeline execution.
6287
6296
  :param continuous: bool (optional)
@@ -6337,7 +6346,10 @@ class PipelinesAPI:
6337
6346
  :param schema: str (optional)
6338
6347
  The default schema (database) where tables are read from or published to.
6339
6348
  :param serverless: bool (optional)
6340
- Whether serverless compute is enabled for this pipeline.
6349
+ Whether serverless compute is enabled for this pipeline. Serverless is the recommended compute for
6350
+ new pipelines; set this to ``true`` to run the pipeline on serverless. For notebook/file pipelines,
6351
+ omitting this field uses classic compute configured through the ``clusters`` field. When ``true``,
6352
+ omit ``clusters``; Photon is always enabled.
6341
6353
  :param serverless_compute_id: str (optional)
6342
6354
  Serverless compute ID specified by the user for serverless pipelines.
6343
6355
  :param storage: str (optional)
@@ -6905,7 +6917,8 @@ class PipelinesAPI:
6905
6917
  :param channel: str (optional)
6906
6918
  SDP Release Channel that specifies which version to use.
6907
6919
  :param clusters: List[:class:`PipelineCluster`] (optional)
6908
- Cluster settings for this pipeline deployment.
6920
+ Cluster settings for this pipeline deployment. Applies to classic (non-serverless) pipelines. Omit
6921
+ this field when ``serverless`` is ``true``.
6909
6922
  :param configuration: Dict[str,str] (optional)
6910
6923
  String-String configuration for this pipeline execution.
6911
6924
  :param continuous: bool (optional)
@@ -6963,7 +6976,10 @@ class PipelinesAPI:
6963
6976
  :param schema: str (optional)
6964
6977
  The default schema (database) where tables are read from or published to.
6965
6978
  :param serverless: bool (optional)
6966
- Whether serverless compute is enabled for this pipeline.
6979
+ Whether serverless compute is enabled for this pipeline. Serverless is the recommended compute for
6980
+ new pipelines; set this to ``true`` to run the pipeline on serverless. For notebook/file pipelines,
6981
+ omitting this field uses classic compute configured through the ``clusters`` field. When ``true``,
6982
+ omit ``clusters``; Photon is always enabled.
6967
6983
  :param serverless_compute_id: str (optional)
6968
6984
  Serverless compute ID specified by the user for serverless pipelines.
6969
6985
  :param storage: str (optional)
@@ -627,6 +627,9 @@ class EndpointInfo:
627
627
 
628
628
  @dataclass
629
629
  class EndpointScalingInfo:
630
+ """Scaling information for a Standard endpoint: the current scaling state, the requested QPS
631
+ target, and the progress of an in-progress scaling change."""
632
+
630
633
  requested_target_qps: Optional[int] = None
631
634
  """The requested QPS target for the endpoint. Best-effort; the system does not guarantee this QPS
632
635
  will be achieved."""
@@ -0,0 +1 @@
1
+ __version__ = "0.151.0"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: databricks-sdk
3
- Version: 0.149.0
3
+ Version: 0.151.0
4
4
  Summary: Databricks SDK for Python (Beta)
5
5
  Project-URL: Documentation, https://databricks-sdk-py.readthedocs.io
6
6
  Keywords: databricks,sdk
@@ -1 +0,0 @@
1
- __version__ = "0.149.0"
File without changes