databricks-sdk 0.56.0__py3-none-any.whl → 0.57.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of databricks-sdk might be problematic. Click here for more details.
- databricks/sdk/__init__.py +15 -9
- databricks/sdk/service/aibuilder.py +157 -16
- databricks/sdk/service/apps.py +14 -42
- databricks/sdk/service/billing.py +17 -51
- databricks/sdk/service/catalog.py +198 -399
- databricks/sdk/service/cleanrooms.py +11 -33
- databricks/sdk/service/compute.py +63 -189
- databricks/sdk/service/dashboards.py +21 -63
- databricks/sdk/service/database.py +45 -30
- databricks/sdk/service/files.py +18 -54
- databricks/sdk/service/iam.py +55 -165
- databricks/sdk/service/jobs.py +232 -85
- databricks/sdk/service/marketplace.py +46 -146
- databricks/sdk/service/ml.py +455 -216
- databricks/sdk/service/oauth2.py +17 -45
- databricks/sdk/service/pipelines.py +81 -40
- databricks/sdk/service/provisioning.py +30 -90
- databricks/sdk/service/qualitymonitorv2.py +5 -15
- databricks/sdk/service/serving.py +30 -42
- databricks/sdk/service/settings.py +103 -314
- databricks/sdk/service/sharing.py +30 -86
- databricks/sdk/service/sql.py +74 -184
- databricks/sdk/service/vectorsearch.py +13 -43
- databricks/sdk/service/workspace.py +35 -105
- databricks/sdk/version.py +1 -1
- {databricks_sdk-0.56.0.dist-info → databricks_sdk-0.57.0.dist-info}/METADATA +1 -1
- {databricks_sdk-0.56.0.dist-info → databricks_sdk-0.57.0.dist-info}/RECORD +31 -31
- {databricks_sdk-0.56.0.dist-info → databricks_sdk-0.57.0.dist-info}/WHEEL +0 -0
- {databricks_sdk-0.56.0.dist-info → databricks_sdk-0.57.0.dist-info}/licenses/LICENSE +0 -0
- {databricks_sdk-0.56.0.dist-info → databricks_sdk-0.57.0.dist-info}/licenses/NOTICE +0 -0
- {databricks_sdk-0.56.0.dist-info → databricks_sdk-0.57.0.dist-info}/top_level.txt +0 -0
|
@@ -1222,9 +1222,7 @@ class CleanRoomAssetsAPI:
|
|
|
1222
1222
|
self._api = api_client
|
|
1223
1223
|
|
|
1224
1224
|
def create(self, clean_room_name: str, asset: CleanRoomAsset) -> CleanRoomAsset:
|
|
1225
|
-
"""Create an asset.
|
|
1226
|
-
|
|
1227
|
-
Create a clean room asset —share an asset like a notebook or table into the clean room. For each UC
|
|
1225
|
+
"""Create a clean room asset —share an asset like a notebook or table into the clean room. For each UC
|
|
1228
1226
|
asset that is added through this method, the clean room owner must also have enough privilege on the
|
|
1229
1227
|
asset to consume it. The privilege must be maintained indefinitely for the clean room to be able to
|
|
1230
1228
|
access the asset. Typically, you should use a group as the clean room owner.
|
|
@@ -1246,9 +1244,7 @@ class CleanRoomAssetsAPI:
|
|
|
1246
1244
|
return CleanRoomAsset.from_dict(res)
|
|
1247
1245
|
|
|
1248
1246
|
def delete(self, clean_room_name: str, asset_type: CleanRoomAssetAssetType, name: str):
|
|
1249
|
-
"""Delete
|
|
1250
|
-
|
|
1251
|
-
Delete a clean room asset - unshare/remove the asset from the clean room
|
|
1247
|
+
"""Delete a clean room asset - unshare/remove the asset from the clean room
|
|
1252
1248
|
|
|
1253
1249
|
:param clean_room_name: str
|
|
1254
1250
|
Name of the clean room.
|
|
@@ -1269,9 +1265,7 @@ class CleanRoomAssetsAPI:
|
|
|
1269
1265
|
)
|
|
1270
1266
|
|
|
1271
1267
|
def get(self, clean_room_name: str, asset_type: CleanRoomAssetAssetType, name: str) -> CleanRoomAsset:
|
|
1272
|
-
"""Get
|
|
1273
|
-
|
|
1274
|
-
Get the details of a clean room asset by its type and full name.
|
|
1268
|
+
"""Get the details of a clean room asset by its type and full name.
|
|
1275
1269
|
|
|
1276
1270
|
:param clean_room_name: str
|
|
1277
1271
|
Name of the clean room.
|
|
@@ -1322,9 +1316,7 @@ class CleanRoomAssetsAPI:
|
|
|
1322
1316
|
def update(
|
|
1323
1317
|
self, clean_room_name: str, asset_type: CleanRoomAssetAssetType, name: str, asset: CleanRoomAsset
|
|
1324
1318
|
) -> CleanRoomAsset:
|
|
1325
|
-
"""Update
|
|
1326
|
-
|
|
1327
|
-
Update a clean room asset. For example, updating the content of a notebook; changing the shared
|
|
1319
|
+
"""Update a clean room asset. For example, updating the content of a notebook; changing the shared
|
|
1328
1320
|
partitions of a table; etc.
|
|
1329
1321
|
|
|
1330
1322
|
:param clean_room_name: str
|
|
@@ -1373,9 +1365,7 @@ class CleanRoomTaskRunsAPI:
|
|
|
1373
1365
|
page_size: Optional[int] = None,
|
|
1374
1366
|
page_token: Optional[str] = None,
|
|
1375
1367
|
) -> Iterator[CleanRoomNotebookTaskRun]:
|
|
1376
|
-
"""List notebook task runs.
|
|
1377
|
-
|
|
1378
|
-
List all the historical notebook task runs in a clean room.
|
|
1368
|
+
"""List all the historical notebook task runs in a clean room.
|
|
1379
1369
|
|
|
1380
1370
|
:param clean_room_name: str
|
|
1381
1371
|
Name of the clean room.
|
|
@@ -1419,9 +1409,7 @@ class CleanRoomsAPI:
|
|
|
1419
1409
|
self._api = api_client
|
|
1420
1410
|
|
|
1421
1411
|
def create(self, clean_room: CleanRoom) -> CleanRoom:
|
|
1422
|
-
"""Create a clean room.
|
|
1423
|
-
|
|
1424
|
-
Create a new clean room with the specified collaborators. This method is asynchronous; the returned
|
|
1412
|
+
"""Create a new clean room with the specified collaborators. This method is asynchronous; the returned
|
|
1425
1413
|
name field inside the clean_room field can be used to poll the clean room status, using the
|
|
1426
1414
|
:method:cleanrooms/get method. When this method returns, the clean room will be in a PROVISIONING
|
|
1427
1415
|
state, with only name, owner, comment, created_at and status populated. The clean room will be usable
|
|
@@ -1445,9 +1433,7 @@ class CleanRoomsAPI:
|
|
|
1445
1433
|
def create_output_catalog(
|
|
1446
1434
|
self, clean_room_name: str, output_catalog: CleanRoomOutputCatalog
|
|
1447
1435
|
) -> CreateCleanRoomOutputCatalogResponse:
|
|
1448
|
-
"""Create
|
|
1449
|
-
|
|
1450
|
-
Create the output catalog of the clean room.
|
|
1436
|
+
"""Create the output catalog of the clean room.
|
|
1451
1437
|
|
|
1452
1438
|
:param clean_room_name: str
|
|
1453
1439
|
Name of the clean room.
|
|
@@ -1467,9 +1453,7 @@ class CleanRoomsAPI:
|
|
|
1467
1453
|
return CreateCleanRoomOutputCatalogResponse.from_dict(res)
|
|
1468
1454
|
|
|
1469
1455
|
def delete(self, name: str):
|
|
1470
|
-
"""Delete a clean room.
|
|
1471
|
-
|
|
1472
|
-
Delete a clean room. After deletion, the clean room will be removed from the metastore. If the other
|
|
1456
|
+
"""Delete a clean room. After deletion, the clean room will be removed from the metastore. If the other
|
|
1473
1457
|
collaborators have not deleted the clean room, they will still have the clean room in their metastore,
|
|
1474
1458
|
but it will be in a DELETED state and no operations other than deletion can be performed on it.
|
|
1475
1459
|
|
|
@@ -1486,9 +1470,7 @@ class CleanRoomsAPI:
|
|
|
1486
1470
|
self._api.do("DELETE", f"/api/2.0/clean-rooms/{name}", headers=headers)
|
|
1487
1471
|
|
|
1488
1472
|
def get(self, name: str) -> CleanRoom:
|
|
1489
|
-
"""Get a clean room.
|
|
1490
|
-
|
|
1491
|
-
Get the details of a clean room given its name.
|
|
1473
|
+
"""Get the details of a clean room given its name.
|
|
1492
1474
|
|
|
1493
1475
|
:param name: str
|
|
1494
1476
|
|
|
@@ -1503,9 +1485,7 @@ class CleanRoomsAPI:
|
|
|
1503
1485
|
return CleanRoom.from_dict(res)
|
|
1504
1486
|
|
|
1505
1487
|
def list(self, *, page_size: Optional[int] = None, page_token: Optional[str] = None) -> Iterator[CleanRoom]:
|
|
1506
|
-
"""
|
|
1507
|
-
|
|
1508
|
-
Get a list of all clean rooms of the metastore. Only clean rooms the caller has access to are
|
|
1488
|
+
"""Get a list of all clean rooms of the metastore. Only clean rooms the caller has access to are
|
|
1509
1489
|
returned.
|
|
1510
1490
|
|
|
1511
1491
|
:param page_size: int (optional)
|
|
@@ -1535,9 +1515,7 @@ class CleanRoomsAPI:
|
|
|
1535
1515
|
query["page_token"] = json["next_page_token"]
|
|
1536
1516
|
|
|
1537
1517
|
def update(self, name: str, *, clean_room: Optional[CleanRoom] = None) -> CleanRoom:
|
|
1538
|
-
"""Update a clean room.
|
|
1539
|
-
|
|
1540
|
-
Update a clean room. The caller must be the owner of the clean room, have **MODIFY_CLEAN_ROOM**
|
|
1518
|
+
"""Update a clean room. The caller must be the owner of the clean room, have **MODIFY_CLEAN_ROOM**
|
|
1541
1519
|
privilege, or be metastore admin.
|
|
1542
1520
|
|
|
1543
1521
|
When the caller is a metastore admin, only the __owner__ field can be updated.
|