databricks-sdk 0.150.0__tar.gz → 0.152.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.
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/CHANGELOG.md +22 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/PKG-INFO +1 -1
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/service/agentkit.py +31 -34
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/service/aifunctions.py +5 -3
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/service/apps.py +2 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/service/billing.py +1 -7
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/service/bundledeployments.py +7 -1
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/service/catalog.py +12 -7
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/service/iamv2.py +6 -2
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/service/oauth2.py +28 -2
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/service/pipelines.py +24 -8
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/service/settings.py +140 -0
- databricks_sdk-0.152.0/databricks/sdk/version.py +1 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks_sdk.egg-info/PKG-INFO +1 -1
- databricks_sdk-0.150.0/databricks/sdk/version.py +0 -1
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/CONTRIBUTING.md +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/DCO +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/LICENSE +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/MANIFEST.in +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/Makefile +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/NOTICE +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/README.md +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/SECURITY.md +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/__init__.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/__init__.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/_base_client.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/_property.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/_sandbox_grpc/__init__.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/_sandbox_grpc/sandbox_service_pb2.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/_sandbox_grpc/sandbox_service_pb2_grpc.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/_widgets/__init__.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/_widgets/default_widgets_utils.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/_widgets/ipywidgets_utils.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/azure.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/casing.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/client_types.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/clock.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/common/lro.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/common/types/__init__.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/common/types/fieldmask.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/config.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/core.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/credentials_provider.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/data_plane.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/dbutils.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/environments.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/errors/__init__.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/errors/base.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/errors/customizer.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/errors/deserializer.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/errors/details.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/errors/mapper.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/errors/overrides.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/errors/parser.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/errors/platform.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/errors/private_link.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/errors/sdk.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/logger/__init__.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/logger/round_trip_logger.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/mixins/__init__.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/mixins/_grpc_transport.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/mixins/compute.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/mixins/files.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/mixins/files_utils.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/mixins/jobs.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/mixins/open_ai_client.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/mixins/sandbox.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/mixins/sharing.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/mixins/workspace.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/oauth.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/oidc.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/oidc_token_supplier.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/py.typed +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/retries.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/runtime/__init__.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/runtime/dbutils_stub.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/service/__init__.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/service/_internal.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/service/agentbricks.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/service/aisearch.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/service/bundle.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/service/cleanrooms.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/service/compute.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/service/dashboards.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/service/database.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/service/dataclassification.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/service/dataquality.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/service/disasterrecovery.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/service/domains.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/service/environments.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/service/files.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/service/iam.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/service/jobs.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/service/knowledgeassistants.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/service/marketplace.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/service/ml.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/service/networking.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/service/postgres.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/service/provisioning.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/service/qualitymonitorv2.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/service/sandbox.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/service/serving.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/service/settingsv2.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/service/sharing.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/service/sql.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/service/supervisoragents.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/service/tags.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/service/vectorsearch.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/service/workspace.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/useragent.py +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks_sdk.egg-info/SOURCES.txt +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks_sdk.egg-info/dependency_links.txt +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks_sdk.egg-info/requires.txt +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks_sdk.egg-info/top_level.txt +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/pyproject.toml +0 -0
- {databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/setup.cfg +0 -0
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# Version changelog
|
|
2
2
|
|
|
3
|
+
## Release v0.152.0 (2026-10-13)
|
|
4
|
+
|
|
5
|
+
### API Changes
|
|
6
|
+
* Add `view` field for `databricks.sdk.service.agentkit.GetManagedMemoryEntryRequest`.
|
|
7
|
+
* Add `view` field for `databricks.sdk.service.agentkit.ListManagedMemoryEntriesRequest`.
|
|
8
|
+
* Add `view` field for `databricks.sdk.service.agentkit.SearchManagedMemoryEntriesRequest`.
|
|
9
|
+
* Add `show_deleted` field for `databricks.sdk.service.bundledeployments.ListDeploymentsRequest`.
|
|
10
|
+
* Add `scopes` field for `databricks.sdk.service.oauth2.CreateServicePrincipalSecretRequest`.
|
|
11
|
+
* Add `scopes` field for `databricks.sdk.service.oauth2.CreateServicePrincipalSecretResponse`.
|
|
12
|
+
* Add `scopes` field for `databricks.sdk.service.oauth2.SecretInfo`.
|
|
13
|
+
* Add `databricks_app_slack` and `databricks_app_teams` fields for `databricks.sdk.service.settings.Config`.
|
|
14
|
+
* Add `databricks_app_slack` and `databricks_app_teams` enum values for `databricks.sdk.service.settings.DestinationType`.
|
|
15
|
+
* [Breaking] Remove `read_mask` field for `databricks.sdk.service.agentkit.GetManagedMemoryEntryRequest`.
|
|
16
|
+
* [Breaking] Remove `read_mask` field for `databricks.sdk.service.agentkit.ListManagedMemoryEntriesRequest`.
|
|
17
|
+
* [Breaking] Remove `read_mask` field for `databricks.sdk.service.agentkit.SearchManagedMemoryEntriesRequest`.
|
|
18
|
+
|
|
19
|
+
## Release v0.151.0 (2026-10-10)
|
|
20
|
+
|
|
21
|
+
### API Changes
|
|
22
|
+
* Add `model_service` enum value for `databricks.sdk.service.apps.AppManifestAppResourceUcSecurableSpecUcSecurableType`.
|
|
23
|
+
* Add `model_service` enum value for `databricks.sdk.service.apps.AppResourceUcSecurableUcSecurableType`.
|
|
24
|
+
|
|
3
25
|
## Release v0.150.0 (2026-10-09)
|
|
4
26
|
|
|
5
27
|
### API Changes
|
|
@@ -141,7 +141,7 @@ class ListManagedMemoryEntriesResponse:
|
|
|
141
141
|
"""Response containing managed memory entries."""
|
|
142
142
|
|
|
143
143
|
managed_memory_entries: Optional[List[ManagedMemoryEntry]] = None
|
|
144
|
-
"""Managed memory entries matching the request and
|
|
144
|
+
"""Managed memory entries matching the request and selected response view."""
|
|
145
145
|
|
|
146
146
|
next_page_token: Optional[str] = None
|
|
147
147
|
"""Opaque pagination token. This field is omitted when there are no more results."""
|
|
@@ -457,6 +457,13 @@ class ManagedMemoryEntrySourceType(Enum):
|
|
|
457
457
|
MANAGED_MEMORY_ENTRY_SOURCE_TYPE_DREAMER = "MANAGED_MEMORY_ENTRY_SOURCE_TYPE_DREAMER"
|
|
458
458
|
|
|
459
459
|
|
|
460
|
+
class ManagedMemoryEntryView(Enum):
|
|
461
|
+
"""Controls how much managed memory entry data is returned."""
|
|
462
|
+
|
|
463
|
+
MANAGED_MEMORY_ENTRY_VIEW_BASIC = "MANAGED_MEMORY_ENTRY_VIEW_BASIC"
|
|
464
|
+
MANAGED_MEMORY_ENTRY_VIEW_FULL = "MANAGED_MEMORY_ENTRY_VIEW_FULL"
|
|
465
|
+
|
|
466
|
+
|
|
460
467
|
@dataclass
|
|
461
468
|
class ManagedMemoryStore:
|
|
462
469
|
"""A workspace-scoped managed memory store backed by service-managed storage."""
|
|
@@ -1249,24 +1256,22 @@ class AgentKitAPI:
|
|
|
1249
1256
|
res = self._api.do("POST", f"/api/2.0/agents/{parent}/sessions:fork", body=body, headers=headers)
|
|
1250
1257
|
return ForkSessionResponse.from_dict(res)
|
|
1251
1258
|
|
|
1252
|
-
def get_memory(self, name: str, *,
|
|
1253
|
-
"""Retrieves a managed memory entry
|
|
1254
|
-
the entry does not exist in the caller's workspace.
|
|
1259
|
+
def get_memory(self, name: str, *, view: Optional[ManagedMemoryEntryView] = None) -> ManagedMemoryEntry:
|
|
1260
|
+
"""Retrieves a managed memory entry by resource name. ``view`` controls whether the response includes
|
|
1261
|
+
memory content. Returns ``NOT_FOUND`` when the entry does not exist in the caller's workspace.
|
|
1255
1262
|
|
|
1256
1263
|
:param name: str
|
|
1257
1264
|
Resource name in the form
|
|
1258
1265
|
``memory-stores/{managed_memory_store_id}/entries/{managed_memory_entry_id}``.
|
|
1259
|
-
:param
|
|
1260
|
-
|
|
1261
|
-
empty mask returns the full entry, including ``content``; a non-empty mask returns only the
|
|
1262
|
-
requested fields.
|
|
1266
|
+
:param view: :class:`ManagedMemoryEntryView` (optional)
|
|
1267
|
+
Controls whether the response includes memory content. Defaults to ``FULL``.
|
|
1263
1268
|
|
|
1264
1269
|
:returns: :class:`ManagedMemoryEntry`
|
|
1265
1270
|
"""
|
|
1266
1271
|
|
|
1267
1272
|
query = {}
|
|
1268
|
-
if
|
|
1269
|
-
query["
|
|
1273
|
+
if view is not None:
|
|
1274
|
+
query["view"] = view.value
|
|
1270
1275
|
headers = {
|
|
1271
1276
|
"Accept": "application/json",
|
|
1272
1277
|
}
|
|
@@ -1347,12 +1352,12 @@ class AgentKitAPI:
|
|
|
1347
1352
|
page_size: Optional[int] = None,
|
|
1348
1353
|
page_token: Optional[str] = None,
|
|
1349
1354
|
path_prefix: Optional[str] = None,
|
|
1350
|
-
read_mask: Optional[FieldMask] = None,
|
|
1351
1355
|
session_id: Optional[str] = None,
|
|
1356
|
+
view: Optional[ManagedMemoryEntryView] = None,
|
|
1352
1357
|
) -> Iterator[ManagedMemoryEntry]:
|
|
1353
1358
|
"""Lists managed memory entries for one actor. An exact ``path`` filters entries across sessions,
|
|
1354
1359
|
ignoring session metadata. Otherwise, ``session_id`` and ``path_prefix`` restrict the actor partition.
|
|
1355
|
-
``
|
|
1360
|
+
``view`` controls whether each returned entry includes memory content.
|
|
1356
1361
|
|
|
1357
1362
|
:param parent: str
|
|
1358
1363
|
Managed memory store whose entries are listed, in the form
|
|
@@ -1366,13 +1371,11 @@ class AgentKitAPI:
|
|
|
1366
1371
|
Opaque pagination token from a previous ListManagedMemoryEntries response.
|
|
1367
1372
|
:param path_prefix: str (optional)
|
|
1368
1373
|
Optional path prefix used to restrict entries within the actor partition.
|
|
1369
|
-
:param read_mask: FieldMask (optional)
|
|
1370
|
-
Fields to return in each entry, using proto field names such as ``content`` (not ``contents``). An
|
|
1371
|
-
omitted or empty mask returns each full entry, including ``content``; a non-empty mask returns only
|
|
1372
|
-
the requested fields.
|
|
1373
1374
|
:param session_id: str (optional)
|
|
1374
1375
|
Optional session identifier. When set, only entries with this exact ``session_id`` are returned.
|
|
1375
1376
|
Omitted-session (cross-session) entries are not included. Ignored when path is set.
|
|
1377
|
+
:param view: :class:`ManagedMemoryEntryView` (optional)
|
|
1378
|
+
Controls whether each returned entry includes memory content. Defaults to ``FULL``.
|
|
1376
1379
|
|
|
1377
1380
|
:returns: Iterator over :class:`ManagedMemoryEntry`
|
|
1378
1381
|
"""
|
|
@@ -1386,10 +1389,10 @@ class AgentKitAPI:
|
|
|
1386
1389
|
query["page_token"] = page_token
|
|
1387
1390
|
if path_prefix is not None:
|
|
1388
1391
|
query["path_prefix"] = path_prefix
|
|
1389
|
-
if read_mask is not None:
|
|
1390
|
-
query["read_mask"] = read_mask.ToJsonString()
|
|
1391
1392
|
if session_id is not None:
|
|
1392
1393
|
query["session_id"] = session_id
|
|
1394
|
+
if view is not None:
|
|
1395
|
+
query["view"] = view.value
|
|
1393
1396
|
headers = {
|
|
1394
1397
|
"Accept": "application/json",
|
|
1395
1398
|
}
|
|
@@ -1615,11 +1618,11 @@ class AgentKitAPI:
|
|
|
1615
1618
|
page_size: Optional[int] = None,
|
|
1616
1619
|
page_token: Optional[str] = None,
|
|
1617
1620
|
path_prefix: Optional[str] = None,
|
|
1618
|
-
read_mask: Optional[FieldMask] = None,
|
|
1619
1621
|
session_id: Optional[str] = None,
|
|
1622
|
+
view: Optional[ManagedMemoryEntryView] = None,
|
|
1620
1623
|
) -> Iterator[ManagedMemoryEntrySearchResult]:
|
|
1621
1624
|
"""Searches managed memory entries by text query for one actor. Returns matching entries and scores
|
|
1622
|
-
ranked by relevance; ``
|
|
1625
|
+
ranked by relevance; ``view`` controls whether each returned entry includes content.
|
|
1623
1626
|
|
|
1624
1627
|
:param parent: str
|
|
1625
1628
|
Managed memory store whose entries are searched, in the form
|
|
@@ -1638,19 +1641,12 @@ class AgentKitAPI:
|
|
|
1638
1641
|
:param path_prefix: str (optional)
|
|
1639
1642
|
Optional absolute, case-sensitive path prefix used to restrict searched entries within the actor
|
|
1640
1643
|
partition. The prefix must begin with ``/`` and must not contain empty, ``.`` or ``..`` segments.
|
|
1641
|
-
:param read_mask: FieldMask (optional)
|
|
1642
|
-
Fields to return in each matching entry, using proto field names such as ``content`` (not
|
|
1643
|
-
``contents``). An omitted or empty mask returns each full entry, including ``content``; a non-empty
|
|
1644
|
-
mask returns only the requested fields. Search scores are always returned.
|
|
1645
|
-
|
|
1646
|
-
The field mask must be a single string, with multiple fields separated by commas (no spaces). The
|
|
1647
|
-
field path is relative to the resource object, using a dot (``.``) to navigate sub-fields (e.g.,
|
|
1648
|
-
``author.given_name``). Specification of elements in sequence or map fields is not allowed, as only
|
|
1649
|
-
the entire collection field can be specified. Field names must exactly match the resource field
|
|
1650
|
-
names.
|
|
1651
1644
|
:param session_id: str (optional)
|
|
1652
1645
|
Optional session identifier. When set, only entries with this exact ``session_id`` are searched.
|
|
1653
1646
|
Omitted-session (cross-session) entries are not included.
|
|
1647
|
+
:param view: :class:`ManagedMemoryEntryView` (optional)
|
|
1648
|
+
Controls whether each returned entry includes memory content. Search scores are always returned.
|
|
1649
|
+
Defaults to ``FULL``.
|
|
1654
1650
|
|
|
1655
1651
|
:returns: Iterator over :class:`ManagedMemoryEntrySearchResult`
|
|
1656
1652
|
"""
|
|
@@ -1668,10 +1664,10 @@ class AgentKitAPI:
|
|
|
1668
1664
|
body["path_prefix"] = path_prefix
|
|
1669
1665
|
if query is not None:
|
|
1670
1666
|
body["query"] = query
|
|
1671
|
-
if read_mask is not None:
|
|
1672
|
-
body["read_mask"] = read_mask.ToJsonString()
|
|
1673
1667
|
if session_id is not None:
|
|
1674
1668
|
body["session_id"] = session_id
|
|
1669
|
+
if view is not None:
|
|
1670
|
+
body["view"] = view.value
|
|
1675
1671
|
headers = {
|
|
1676
1672
|
"Accept": "application/json",
|
|
1677
1673
|
"Content-Type": "application/json",
|
|
@@ -1725,14 +1721,15 @@ class AgentKitAPI:
|
|
|
1725
1721
|
def update_memory_store(
|
|
1726
1722
|
self, name: str, managed_memory_store: ManagedMemoryStore, update_mask: FieldMask
|
|
1727
1723
|
) -> ManagedMemoryStore:
|
|
1728
|
-
"""Updates a managed memory store's description.
|
|
1724
|
+
"""Updates a managed memory store's description and metadata.
|
|
1729
1725
|
|
|
1730
1726
|
:param name: str
|
|
1731
1727
|
Resource name in the form ``memory-stores/{managed_memory_store_id}``.
|
|
1732
1728
|
:param managed_memory_store: :class:`ManagedMemoryStore`
|
|
1733
1729
|
The managed memory store to update. ``name`` is taken from the URL.
|
|
1734
1730
|
:param update_mask: FieldMask
|
|
1735
|
-
Only ``description`` may be updated.
|
|
1731
|
+
Only ``description`` and ``metadata`` may be updated. Selecting ``metadata`` replaces the entire
|
|
1732
|
+
map.
|
|
1736
1733
|
|
|
1737
1734
|
:returns: :class:`ManagedMemoryStore`
|
|
1738
1735
|
"""
|
|
@@ -973,9 +973,11 @@ class AiFunctionsAPI:
|
|
|
973
973
|
"""Parse structured content from unstructured documents.
|
|
974
974
|
|
|
975
975
|
:param content: str
|
|
976
|
-
The document to parse
|
|
977
|
-
|
|
978
|
-
|
|
976
|
+
The document to parse. The REST API accepts a Unity Catalog volume path to the source file or a
|
|
977
|
+
base64 data URL containing the file bytes (for example,
|
|
978
|
+
data:application/pdf;base64,<encoded-file-bytes> or data:image/jpeg;base64,<encoded-file-bytes>).
|
|
979
|
+
Supported formats: PDF, DOCX, DOC, PPTX, PPT, JPG, JPEG, PNG, TIFF. Accepts up to 100 pages and 100
|
|
980
|
+
MB per document.
|
|
979
981
|
:param options: :class:`AiParseDocumentOptions` (optional)
|
|
980
982
|
Function options. Omitted fields fall back to their documented defaults.
|
|
981
983
|
|
|
@@ -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.
|
|
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
|
|
{databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/service/bundledeployments.py
RENAMED
|
@@ -1326,7 +1326,7 @@ class BundleDeploymentsAPI:
|
|
|
1326
1326
|
return HeartbeatResponse.from_dict(res)
|
|
1327
1327
|
|
|
1328
1328
|
def list_deployments(
|
|
1329
|
-
self, *, page_size: Optional[int] = None, page_token: Optional[str] = None
|
|
1329
|
+
self, *, page_size: Optional[int] = None, page_token: Optional[str] = None, show_deleted: Optional[bool] = None
|
|
1330
1330
|
) -> Iterator[Deployment]:
|
|
1331
1331
|
"""Lists deployments in the workspace.
|
|
1332
1332
|
|
|
@@ -1337,6 +1337,10 @@ class BundleDeploymentsAPI:
|
|
|
1337
1337
|
:param page_token: str (optional)
|
|
1338
1338
|
A page token, received from a previous ``ListDeployments`` call. Provide this to retrieve the
|
|
1339
1339
|
subsequent page.
|
|
1340
|
+
:param show_deleted: bool (optional)
|
|
1341
|
+
Whether to include soft-deleted deployments in the response. Defaults to false. When true, returns
|
|
1342
|
+
both live and soft-deleted deployments visible to the caller, subject to the filter. Soft-deleted
|
|
1343
|
+
deployments have status ``DEPLOYMENT_STATUS_DELETED``.
|
|
1340
1344
|
|
|
1341
1345
|
:returns: Iterator over :class:`Deployment`
|
|
1342
1346
|
"""
|
|
@@ -1346,6 +1350,8 @@ class BundleDeploymentsAPI:
|
|
|
1346
1350
|
query["page_size"] = page_size
|
|
1347
1351
|
if page_token is not None:
|
|
1348
1352
|
query["page_token"] = page_token
|
|
1353
|
+
if show_deleted is not None:
|
|
1354
|
+
query["show_deleted"] = show_deleted
|
|
1349
1355
|
headers = {
|
|
1350
1356
|
"Accept": "application/json",
|
|
1351
1357
|
}
|
|
@@ -7528,7 +7528,8 @@ class ModelProviderServiceConfig:
|
|
|
7528
7528
|
openai: Optional[ModelProviderServiceConfigOpenAiProviderConfig] = None
|
|
7529
7529
|
|
|
7530
7530
|
pricing: Optional[ModelProviderServiceConfigProviderPricingConfig] = None
|
|
7531
|
-
"""Pricing configuration for this provider service.
|
|
7531
|
+
"""Pricing configuration for this provider service. An explicitly empty configuration is retained
|
|
7532
|
+
on Create and Update and applies no adjustment."""
|
|
7532
7533
|
|
|
7533
7534
|
provider_type: Optional[ModelProviderServiceConfigExternalModelProviderType] = None
|
|
7534
7535
|
"""External model provider. Required on Create and immutable thereafter. Set the matching
|
|
@@ -8459,8 +8460,9 @@ class ModelProviderServiceConfigProviderPricingConfig:
|
|
|
8459
8460
|
"""Pricing adjustments applied to this provider service's external-model spend estimates."""
|
|
8460
8461
|
|
|
8461
8462
|
default_discount_basis_points: Optional[int] = None
|
|
8462
|
-
"""Provider-wide
|
|
8463
|
-
|
|
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."""
|
|
8464
8466
|
|
|
8465
8467
|
def as_dict(self) -> dict:
|
|
8466
8468
|
"""Serializes the ModelProviderServiceConfigProviderPricingConfig into a dictionary suitable for use as a JSON request body."""
|
|
@@ -15052,10 +15054,13 @@ class AiGatewayAPI:
|
|
|
15052
15054
|
more granular paths: ``comment``; ``config.provider`` to replace the active provider-specific value
|
|
15053
15055
|
(for example, ``config.openai``; the mask path remains ``config.provider``);
|
|
15054
15056
|
``config.allow_all_targets``, ``config.targets``, ``config.forward_headers``,
|
|
15055
|
-
``config.forward_query_parameters``, ``config.forward_unmanaged_paths``, ``config.rate_limits``,
|
|
15056
|
-
``config.
|
|
15057
|
-
|
|
15058
|
-
|
|
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.
|
|
15059
15064
|
:param etag: str (optional)
|
|
15060
15065
|
Optimistic concurrency token from the most recent read. When set, the update succeeds only if the
|
|
15061
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.
|
|
@@ -103,6 +103,9 @@ class CreateServicePrincipalSecretResponse:
|
|
|
103
103
|
id: Optional[str] = None
|
|
104
104
|
"""ID of the secret"""
|
|
105
105
|
|
|
106
|
+
scopes: Optional[List[str]] = None
|
|
107
|
+
"""OAuth API scopes bound to this secret. Empty = unrestricted (all-apis)."""
|
|
108
|
+
|
|
106
109
|
secret: Optional[str] = None
|
|
107
110
|
"""Secret Value"""
|
|
108
111
|
|
|
@@ -124,6 +127,8 @@ class CreateServicePrincipalSecretResponse:
|
|
|
124
127
|
body["expire_time"] = self.expire_time
|
|
125
128
|
if self.id is not None:
|
|
126
129
|
body["id"] = self.id
|
|
130
|
+
if self.scopes:
|
|
131
|
+
body["scopes"] = [v for v in self.scopes]
|
|
127
132
|
if self.secret is not None:
|
|
128
133
|
body["secret"] = self.secret
|
|
129
134
|
if self.secret_hash is not None:
|
|
@@ -143,6 +148,8 @@ class CreateServicePrincipalSecretResponse:
|
|
|
143
148
|
body["expire_time"] = self.expire_time
|
|
144
149
|
if self.id is not None:
|
|
145
150
|
body["id"] = self.id
|
|
151
|
+
if self.scopes:
|
|
152
|
+
body["scopes"] = self.scopes
|
|
146
153
|
if self.secret is not None:
|
|
147
154
|
body["secret"] = self.secret
|
|
148
155
|
if self.secret_hash is not None:
|
|
@@ -160,6 +167,7 @@ class CreateServicePrincipalSecretResponse:
|
|
|
160
167
|
create_time=d.get("create_time", None),
|
|
161
168
|
expire_time=d.get("expire_time", None),
|
|
162
169
|
id=d.get("id", None),
|
|
170
|
+
scopes=d.get("scopes", None),
|
|
163
171
|
secret=d.get("secret", None),
|
|
164
172
|
secret_hash=d.get("secret_hash", None),
|
|
165
173
|
status=d.get("status", None),
|
|
@@ -798,6 +806,9 @@ class SecretInfo:
|
|
|
798
806
|
id: Optional[str] = None
|
|
799
807
|
"""ID of the secret"""
|
|
800
808
|
|
|
809
|
+
scopes: Optional[List[str]] = None
|
|
810
|
+
"""OAuth API scopes bound to this secret. Empty = unrestricted (all-apis)."""
|
|
811
|
+
|
|
801
812
|
secret_hash: Optional[str] = None
|
|
802
813
|
"""Secret Hash"""
|
|
803
814
|
|
|
@@ -816,6 +827,8 @@ class SecretInfo:
|
|
|
816
827
|
body["expire_time"] = self.expire_time
|
|
817
828
|
if self.id is not None:
|
|
818
829
|
body["id"] = self.id
|
|
830
|
+
if self.scopes:
|
|
831
|
+
body["scopes"] = [v for v in self.scopes]
|
|
819
832
|
if self.secret_hash is not None:
|
|
820
833
|
body["secret_hash"] = self.secret_hash
|
|
821
834
|
if self.status is not None:
|
|
@@ -833,6 +846,8 @@ class SecretInfo:
|
|
|
833
846
|
body["expire_time"] = self.expire_time
|
|
834
847
|
if self.id is not None:
|
|
835
848
|
body["id"] = self.id
|
|
849
|
+
if self.scopes:
|
|
850
|
+
body["scopes"] = self.scopes
|
|
836
851
|
if self.secret_hash is not None:
|
|
837
852
|
body["secret_hash"] = self.secret_hash
|
|
838
853
|
if self.status is not None:
|
|
@@ -848,6 +863,7 @@ class SecretInfo:
|
|
|
848
863
|
create_time=d.get("create_time", None),
|
|
849
864
|
expire_time=d.get("expire_time", None),
|
|
850
865
|
id=d.get("id", None),
|
|
866
|
+
scopes=d.get("scopes", None),
|
|
851
867
|
secret_hash=d.get("secret_hash", None),
|
|
852
868
|
status=d.get("status", None),
|
|
853
869
|
update_time=d.get("update_time", None),
|
|
@@ -1747,7 +1763,7 @@ class ServicePrincipalSecretsAPI:
|
|
|
1747
1763
|
self._api = api_client
|
|
1748
1764
|
|
|
1749
1765
|
def create(
|
|
1750
|
-
self, service_principal_id: str, *, lifetime: Optional[str] = None
|
|
1766
|
+
self, service_principal_id: str, *, lifetime: Optional[str] = None, scopes: Optional[List[str]] = None
|
|
1751
1767
|
) -> CreateServicePrincipalSecretResponse:
|
|
1752
1768
|
"""Create a secret for the given service principal.
|
|
1753
1769
|
|
|
@@ -1756,6 +1772,9 @@ class ServicePrincipalSecretsAPI:
|
|
|
1756
1772
|
:param lifetime: str (optional)
|
|
1757
1773
|
The lifetime of the secret in seconds. If this parameter is not provided, the secret will have a
|
|
1758
1774
|
default lifetime of 730 days (63072000s).
|
|
1775
|
+
:param scopes: List[str] (optional)
|
|
1776
|
+
OAuth API scopes to bind to the secret; a minted token cannot exceed them. Empty = unrestricted
|
|
1777
|
+
(all-apis). E.g. all-apis, sql, iam.groups:read.
|
|
1759
1778
|
|
|
1760
1779
|
:returns: :class:`CreateServicePrincipalSecretResponse`
|
|
1761
1780
|
"""
|
|
@@ -1763,6 +1782,8 @@ class ServicePrincipalSecretsAPI:
|
|
|
1763
1782
|
body = {}
|
|
1764
1783
|
if lifetime is not None:
|
|
1765
1784
|
body["lifetime"] = lifetime
|
|
1785
|
+
if scopes is not None:
|
|
1786
|
+
body["scopes"] = [v for v in scopes]
|
|
1766
1787
|
headers = {
|
|
1767
1788
|
"Accept": "application/json",
|
|
1768
1789
|
"Content-Type": "application/json",
|
|
@@ -1855,7 +1876,7 @@ class ServicePrincipalSecretsProxyAPI:
|
|
|
1855
1876
|
self._api = api_client
|
|
1856
1877
|
|
|
1857
1878
|
def create(
|
|
1858
|
-
self, service_principal_id: str, *, lifetime: Optional[str] = None
|
|
1879
|
+
self, service_principal_id: str, *, lifetime: Optional[str] = None, scopes: Optional[List[str]] = None
|
|
1859
1880
|
) -> CreateServicePrincipalSecretResponse:
|
|
1860
1881
|
"""Create a secret for the given service principal.
|
|
1861
1882
|
|
|
@@ -1864,6 +1885,9 @@ class ServicePrincipalSecretsProxyAPI:
|
|
|
1864
1885
|
:param lifetime: str (optional)
|
|
1865
1886
|
The lifetime of the secret in seconds. If this parameter is not provided, the secret will have a
|
|
1866
1887
|
default lifetime of 730 days (63072000s).
|
|
1888
|
+
:param scopes: List[str] (optional)
|
|
1889
|
+
OAuth API scopes to bind to the secret; a minted token cannot exceed them. Empty = unrestricted
|
|
1890
|
+
(all-apis). E.g. all-apis, sql, iam.groups:read.
|
|
1867
1891
|
|
|
1868
1892
|
:returns: :class:`CreateServicePrincipalSecretResponse`
|
|
1869
1893
|
"""
|
|
@@ -1871,6 +1895,8 @@ class ServicePrincipalSecretsProxyAPI:
|
|
|
1871
1895
|
body = {}
|
|
1872
1896
|
if lifetime is not None:
|
|
1873
1897
|
body["lifetime"] = lifetime
|
|
1898
|
+
if scopes is not None:
|
|
1899
|
+
body["scopes"] = [v for v in scopes]
|
|
1874
1900
|
headers = {
|
|
1875
1901
|
"Accept": "application/json",
|
|
1876
1902
|
"Content-Type": "application/json",
|
|
@@ -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)
|
|
@@ -716,6 +716,10 @@ class ComplianceStandard(Enum):
|
|
|
716
716
|
|
|
717
717
|
@dataclass
|
|
718
718
|
class Config:
|
|
719
|
+
databricks_app_slack: Optional[DatabricksAppSlackConfig] = None
|
|
720
|
+
|
|
721
|
+
databricks_app_teams: Optional[DatabricksAppTeamsConfig] = None
|
|
722
|
+
|
|
719
723
|
email: Optional[EmailConfig] = None
|
|
720
724
|
|
|
721
725
|
generic_webhook: Optional[GenericWebhookConfig] = None
|
|
@@ -729,6 +733,10 @@ class Config:
|
|
|
729
733
|
def as_dict(self) -> dict:
|
|
730
734
|
"""Serializes the Config into a dictionary suitable for use as a JSON request body."""
|
|
731
735
|
body = {}
|
|
736
|
+
if self.databricks_app_slack:
|
|
737
|
+
body["databricks_app_slack"] = self.databricks_app_slack.as_dict()
|
|
738
|
+
if self.databricks_app_teams:
|
|
739
|
+
body["databricks_app_teams"] = self.databricks_app_teams.as_dict()
|
|
732
740
|
if self.email:
|
|
733
741
|
body["email"] = self.email.as_dict()
|
|
734
742
|
if self.generic_webhook:
|
|
@@ -744,6 +752,10 @@ class Config:
|
|
|
744
752
|
def as_shallow_dict(self) -> dict:
|
|
745
753
|
"""Serializes the Config into a shallow dictionary of its immediate attributes."""
|
|
746
754
|
body = {}
|
|
755
|
+
if self.databricks_app_slack:
|
|
756
|
+
body["databricks_app_slack"] = self.databricks_app_slack
|
|
757
|
+
if self.databricks_app_teams:
|
|
758
|
+
body["databricks_app_teams"] = self.databricks_app_teams
|
|
747
759
|
if self.email:
|
|
748
760
|
body["email"] = self.email
|
|
749
761
|
if self.generic_webhook:
|
|
@@ -760,6 +772,8 @@ class Config:
|
|
|
760
772
|
def from_dict(cls, d: Dict[str, Any]) -> Config:
|
|
761
773
|
"""Deserializes the Config from a dictionary."""
|
|
762
774
|
return cls(
|
|
775
|
+
databricks_app_slack=_from_dict(d, "databricks_app_slack", DatabricksAppSlackConfig),
|
|
776
|
+
databricks_app_teams=_from_dict(d, "databricks_app_teams", DatabricksAppTeamsConfig),
|
|
763
777
|
email=_from_dict(d, "email", EmailConfig),
|
|
764
778
|
generic_webhook=_from_dict(d, "generic_webhook", GenericWebhookConfig),
|
|
765
779
|
microsoft_teams=_from_dict(d, "microsoft_teams", MicrosoftTeamsConfig),
|
|
@@ -2276,6 +2290,130 @@ class DashboardEmailSubscriptions:
|
|
|
2276
2290
|
)
|
|
2277
2291
|
|
|
2278
2292
|
|
|
2293
|
+
@dataclass
|
|
2294
|
+
class DatabricksAppSlackConfig:
|
|
2295
|
+
"""Slack channel reached through the Databricks app. The app must already be installed in the Slack
|
|
2296
|
+
workspace and connected to this Databricks workspace."""
|
|
2297
|
+
|
|
2298
|
+
channel_id: Optional[str] = None
|
|
2299
|
+
"""[Input-Only] Slack channel ID notifications are posted to."""
|
|
2300
|
+
|
|
2301
|
+
channel_id_set: Optional[bool] = None
|
|
2302
|
+
"""[Output-Only] Whether channel ID is set."""
|
|
2303
|
+
|
|
2304
|
+
team_id: Optional[str] = None
|
|
2305
|
+
"""[Input-Only] Slack workspace (team) ID the Databricks app is installed in."""
|
|
2306
|
+
|
|
2307
|
+
team_id_set: Optional[bool] = None
|
|
2308
|
+
"""[Output-Only] Whether team ID is set."""
|
|
2309
|
+
|
|
2310
|
+
def as_dict(self) -> dict:
|
|
2311
|
+
"""Serializes the DatabricksAppSlackConfig into a dictionary suitable for use as a JSON request body."""
|
|
2312
|
+
body = {}
|
|
2313
|
+
if self.channel_id is not None:
|
|
2314
|
+
body["channel_id"] = self.channel_id
|
|
2315
|
+
if self.channel_id_set is not None:
|
|
2316
|
+
body["channel_id_set"] = self.channel_id_set
|
|
2317
|
+
if self.team_id is not None:
|
|
2318
|
+
body["team_id"] = self.team_id
|
|
2319
|
+
if self.team_id_set is not None:
|
|
2320
|
+
body["team_id_set"] = self.team_id_set
|
|
2321
|
+
return body
|
|
2322
|
+
|
|
2323
|
+
def as_shallow_dict(self) -> dict:
|
|
2324
|
+
"""Serializes the DatabricksAppSlackConfig into a shallow dictionary of its immediate attributes."""
|
|
2325
|
+
body = {}
|
|
2326
|
+
if self.channel_id is not None:
|
|
2327
|
+
body["channel_id"] = self.channel_id
|
|
2328
|
+
if self.channel_id_set is not None:
|
|
2329
|
+
body["channel_id_set"] = self.channel_id_set
|
|
2330
|
+
if self.team_id is not None:
|
|
2331
|
+
body["team_id"] = self.team_id
|
|
2332
|
+
if self.team_id_set is not None:
|
|
2333
|
+
body["team_id_set"] = self.team_id_set
|
|
2334
|
+
return body
|
|
2335
|
+
|
|
2336
|
+
@classmethod
|
|
2337
|
+
def from_dict(cls, d: Dict[str, Any]) -> DatabricksAppSlackConfig:
|
|
2338
|
+
"""Deserializes the DatabricksAppSlackConfig from a dictionary."""
|
|
2339
|
+
return cls(
|
|
2340
|
+
channel_id=d.get("channel_id", None),
|
|
2341
|
+
channel_id_set=d.get("channel_id_set", None),
|
|
2342
|
+
team_id=d.get("team_id", None),
|
|
2343
|
+
team_id_set=d.get("team_id_set", None),
|
|
2344
|
+
)
|
|
2345
|
+
|
|
2346
|
+
|
|
2347
|
+
@dataclass
|
|
2348
|
+
class DatabricksAppTeamsConfig:
|
|
2349
|
+
"""Microsoft Teams channel reached through the Databricks app. The app must already be installed in
|
|
2350
|
+
the Microsoft 365 tenant and connected to this Databricks workspace."""
|
|
2351
|
+
|
|
2352
|
+
channel_id: Optional[str] = None
|
|
2353
|
+
"""[Input-Only] Teams channel ID notifications are posted to."""
|
|
2354
|
+
|
|
2355
|
+
channel_id_set: Optional[bool] = None
|
|
2356
|
+
"""[Output-Only] Whether channel ID is set."""
|
|
2357
|
+
|
|
2358
|
+
team_id: Optional[str] = None
|
|
2359
|
+
"""[Input-Only] Microsoft Entra group ID of the team that owns the channel."""
|
|
2360
|
+
|
|
2361
|
+
team_id_set: Optional[bool] = None
|
|
2362
|
+
"""[Output-Only] Whether team ID is set."""
|
|
2363
|
+
|
|
2364
|
+
tenant_id: Optional[str] = None
|
|
2365
|
+
"""[Input-Only] Microsoft Entra tenant ID of the Microsoft 365 tenant the app is installed in."""
|
|
2366
|
+
|
|
2367
|
+
tenant_id_set: Optional[bool] = None
|
|
2368
|
+
"""[Output-Only] Whether tenant ID is set."""
|
|
2369
|
+
|
|
2370
|
+
def as_dict(self) -> dict:
|
|
2371
|
+
"""Serializes the DatabricksAppTeamsConfig into a dictionary suitable for use as a JSON request body."""
|
|
2372
|
+
body = {}
|
|
2373
|
+
if self.channel_id is not None:
|
|
2374
|
+
body["channel_id"] = self.channel_id
|
|
2375
|
+
if self.channel_id_set is not None:
|
|
2376
|
+
body["channel_id_set"] = self.channel_id_set
|
|
2377
|
+
if self.team_id is not None:
|
|
2378
|
+
body["team_id"] = self.team_id
|
|
2379
|
+
if self.team_id_set is not None:
|
|
2380
|
+
body["team_id_set"] = self.team_id_set
|
|
2381
|
+
if self.tenant_id is not None:
|
|
2382
|
+
body["tenant_id"] = self.tenant_id
|
|
2383
|
+
if self.tenant_id_set is not None:
|
|
2384
|
+
body["tenant_id_set"] = self.tenant_id_set
|
|
2385
|
+
return body
|
|
2386
|
+
|
|
2387
|
+
def as_shallow_dict(self) -> dict:
|
|
2388
|
+
"""Serializes the DatabricksAppTeamsConfig into a shallow dictionary of its immediate attributes."""
|
|
2389
|
+
body = {}
|
|
2390
|
+
if self.channel_id is not None:
|
|
2391
|
+
body["channel_id"] = self.channel_id
|
|
2392
|
+
if self.channel_id_set is not None:
|
|
2393
|
+
body["channel_id_set"] = self.channel_id_set
|
|
2394
|
+
if self.team_id is not None:
|
|
2395
|
+
body["team_id"] = self.team_id
|
|
2396
|
+
if self.team_id_set is not None:
|
|
2397
|
+
body["team_id_set"] = self.team_id_set
|
|
2398
|
+
if self.tenant_id is not None:
|
|
2399
|
+
body["tenant_id"] = self.tenant_id
|
|
2400
|
+
if self.tenant_id_set is not None:
|
|
2401
|
+
body["tenant_id_set"] = self.tenant_id_set
|
|
2402
|
+
return body
|
|
2403
|
+
|
|
2404
|
+
@classmethod
|
|
2405
|
+
def from_dict(cls, d: Dict[str, Any]) -> DatabricksAppTeamsConfig:
|
|
2406
|
+
"""Deserializes the DatabricksAppTeamsConfig from a dictionary."""
|
|
2407
|
+
return cls(
|
|
2408
|
+
channel_id=d.get("channel_id", None),
|
|
2409
|
+
channel_id_set=d.get("channel_id_set", None),
|
|
2410
|
+
team_id=d.get("team_id", None),
|
|
2411
|
+
team_id_set=d.get("team_id_set", None),
|
|
2412
|
+
tenant_id=d.get("tenant_id", None),
|
|
2413
|
+
tenant_id_set=d.get("tenant_id_set", None),
|
|
2414
|
+
)
|
|
2415
|
+
|
|
2416
|
+
|
|
2279
2417
|
@dataclass
|
|
2280
2418
|
class DefaultNamespaceSetting:
|
|
2281
2419
|
"""This represents the setting configuration for the default namespace in the Databricks workspace.
|
|
@@ -2801,6 +2939,8 @@ class DeleteSqlResultsDownloadResponse:
|
|
|
2801
2939
|
|
|
2802
2940
|
|
|
2803
2941
|
class DestinationType(Enum):
|
|
2942
|
+
DATABRICKS_APP_SLACK = "DATABRICKS_APP_SLACK"
|
|
2943
|
+
DATABRICKS_APP_TEAMS = "DATABRICKS_APP_TEAMS"
|
|
2804
2944
|
EMAIL = "EMAIL"
|
|
2805
2945
|
MICROSOFT_TEAMS = "MICROSOFT_TEAMS"
|
|
2806
2946
|
PAGERDUTY = "PAGERDUTY"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.152.0"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.150.0"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/_widgets/default_widgets_utils.py
RENAMED
|
File without changes
|
{databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/_widgets/ipywidgets_utils.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/logger/round_trip_logger.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/service/dataclassification.py
RENAMED
|
File without changes
|
|
File without changes
|
{databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/service/disasterrecovery.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/service/knowledgeassistants.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/service/qualitymonitorv2.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks/sdk/service/supervisoragents.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{databricks_sdk-0.150.0 → databricks_sdk-0.152.0}/databricks_sdk.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|