databricks-sdk 0.58.0__py3-none-any.whl → 0.60.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 +18 -10
- databricks/sdk/credentials_provider.py +2 -2
- databricks/sdk/mixins/files.py +43 -15
- databricks/sdk/mixins/open_ai_client.py +28 -7
- databricks/sdk/oidc.py +6 -2
- databricks/sdk/service/{aibuilder.py → agentbricks.py} +5 -132
- databricks/sdk/service/apps.py +52 -46
- databricks/sdk/service/billing.py +9 -200
- databricks/sdk/service/catalog.py +5501 -7697
- databricks/sdk/service/cleanrooms.py +24 -54
- databricks/sdk/service/compute.py +456 -2515
- databricks/sdk/service/dashboards.py +1 -177
- databricks/sdk/service/database.py +34 -53
- databricks/sdk/service/files.py +2 -218
- databricks/sdk/service/iam.py +16 -295
- databricks/sdk/service/jobs.py +108 -1171
- databricks/sdk/service/marketplace.py +0 -573
- databricks/sdk/service/ml.py +76 -2445
- databricks/sdk/service/oauth2.py +122 -237
- databricks/sdk/service/pipelines.py +180 -752
- databricks/sdk/service/provisioning.py +0 -603
- databricks/sdk/service/serving.py +5 -577
- databricks/sdk/service/settings.py +192 -1560
- databricks/sdk/service/sharing.py +5 -470
- databricks/sdk/service/sql.py +117 -1704
- databricks/sdk/service/vectorsearch.py +0 -391
- databricks/sdk/service/workspace.py +250 -721
- databricks/sdk/version.py +1 -1
- {databricks_sdk-0.58.0.dist-info → databricks_sdk-0.60.0.dist-info}/METADATA +1 -1
- {databricks_sdk-0.58.0.dist-info → databricks_sdk-0.60.0.dist-info}/RECORD +34 -34
- {databricks_sdk-0.58.0.dist-info → databricks_sdk-0.60.0.dist-info}/WHEEL +0 -0
- {databricks_sdk-0.58.0.dist-info → databricks_sdk-0.60.0.dist-info}/licenses/LICENSE +0 -0
- {databricks_sdk-0.58.0.dist-info → databricks_sdk-0.60.0.dist-info}/licenses/NOTICE +0 -0
- {databricks_sdk-0.58.0.dist-info → databricks_sdk-0.60.0.dist-info}/top_level.txt +0 -0
|
@@ -132,15 +132,24 @@ class CleanRoomAccessRestricted(Enum):
|
|
|
132
132
|
class CleanRoomAsset:
|
|
133
133
|
"""Metadata of the clean room asset"""
|
|
134
134
|
|
|
135
|
-
|
|
136
|
-
"""
|
|
135
|
+
name: str
|
|
136
|
+
"""A fully qualified name that uniquely identifies the asset within the clean room. This is also
|
|
137
|
+
the name displayed in the clean room UI.
|
|
138
|
+
|
|
139
|
+
For UC securable assets (tables, volumes, etc.), the format is
|
|
140
|
+
*shared_catalog*.*shared_schema*.*asset_name*
|
|
141
|
+
|
|
142
|
+
For notebooks, the name is the notebook file name."""
|
|
137
143
|
|
|
138
|
-
asset_type:
|
|
144
|
+
asset_type: CleanRoomAssetAssetType
|
|
139
145
|
"""The type of the asset."""
|
|
140
146
|
|
|
147
|
+
added_at: Optional[int] = None
|
|
148
|
+
"""When the asset is added to the clean room, in epoch milliseconds."""
|
|
149
|
+
|
|
141
150
|
clean_room_name: Optional[str] = None
|
|
142
|
-
"""The name of the clean room this asset belongs to. This is
|
|
143
|
-
|
|
151
|
+
"""The name of the clean room this asset belongs to. This field is required for create operations
|
|
152
|
+
and populated by the server for responses."""
|
|
144
153
|
|
|
145
154
|
foreign_table: Optional[CleanRoomAssetForeignTable] = None
|
|
146
155
|
"""Foreign table details available to all collaborators of the clean room. Present if and only if
|
|
@@ -150,15 +159,6 @@ class CleanRoomAsset:
|
|
|
150
159
|
"""Local details for a foreign that are only available to its owner. Present if and only if
|
|
151
160
|
**asset_type** is **FOREIGN_TABLE**"""
|
|
152
161
|
|
|
153
|
-
name: Optional[str] = None
|
|
154
|
-
"""A fully qualified name that uniquely identifies the asset within the clean room. This is also
|
|
155
|
-
the name displayed in the clean room UI.
|
|
156
|
-
|
|
157
|
-
For UC securable assets (tables, volumes, etc.), the format is
|
|
158
|
-
*shared_catalog*.*shared_schema*.*asset_name*
|
|
159
|
-
|
|
160
|
-
For notebooks, the name is the notebook file name."""
|
|
161
|
-
|
|
162
162
|
notebook: Optional[CleanRoomAssetNotebook] = None
|
|
163
163
|
"""Notebook details available to all collaborators of the clean room. Present if and only if
|
|
164
164
|
**asset_type** is **NOTEBOOK_FILE**"""
|
|
@@ -314,7 +314,7 @@ class CleanRoomAssetForeignTable:
|
|
|
314
314
|
|
|
315
315
|
@dataclass
|
|
316
316
|
class CleanRoomAssetForeignTableLocalDetails:
|
|
317
|
-
local_name:
|
|
317
|
+
local_name: str
|
|
318
318
|
"""The fully qualified name of the foreign table in its owner's local metastore, in the format of
|
|
319
319
|
*catalog*.*schema*.*foreign_table_name*"""
|
|
320
320
|
|
|
@@ -340,13 +340,13 @@ class CleanRoomAssetForeignTableLocalDetails:
|
|
|
340
340
|
|
|
341
341
|
@dataclass
|
|
342
342
|
class CleanRoomAssetNotebook:
|
|
343
|
-
|
|
344
|
-
"""Server generated etag that represents the notebook version."""
|
|
345
|
-
|
|
346
|
-
notebook_content: Optional[str] = None
|
|
343
|
+
notebook_content: str
|
|
347
344
|
"""Base 64 representation of the notebook contents. This is the same format as returned by
|
|
348
345
|
:method:workspace/export with the format of **HTML**."""
|
|
349
346
|
|
|
347
|
+
etag: Optional[str] = None
|
|
348
|
+
"""Server generated etag that represents the notebook version."""
|
|
349
|
+
|
|
350
350
|
review_state: Optional[CleanRoomNotebookReviewNotebookReviewState] = None
|
|
351
351
|
"""top-level status derived from all reviews"""
|
|
352
352
|
|
|
@@ -432,7 +432,7 @@ class CleanRoomAssetTable:
|
|
|
432
432
|
|
|
433
433
|
@dataclass
|
|
434
434
|
class CleanRoomAssetTableLocalDetails:
|
|
435
|
-
local_name:
|
|
435
|
+
local_name: str
|
|
436
436
|
"""The fully qualified name of the table in its owner's local metastore, in the format of
|
|
437
437
|
*catalog*.*schema*.*table_name*"""
|
|
438
438
|
|
|
@@ -490,7 +490,7 @@ class CleanRoomAssetView:
|
|
|
490
490
|
|
|
491
491
|
@dataclass
|
|
492
492
|
class CleanRoomAssetViewLocalDetails:
|
|
493
|
-
local_name:
|
|
493
|
+
local_name: str
|
|
494
494
|
"""The fully qualified name of the view in its owner's local metastore, in the format of
|
|
495
495
|
*catalog*.*schema*.*view_name*"""
|
|
496
496
|
|
|
@@ -516,7 +516,7 @@ class CleanRoomAssetViewLocalDetails:
|
|
|
516
516
|
|
|
517
517
|
@dataclass
|
|
518
518
|
class CleanRoomAssetVolumeLocalDetails:
|
|
519
|
-
local_name:
|
|
519
|
+
local_name: str
|
|
520
520
|
"""The fully qualified name of the volume in its owner's local metastore, in the format of
|
|
521
521
|
*catalog*.*schema*.*volume_name*"""
|
|
522
522
|
|
|
@@ -1164,37 +1164,6 @@ class ListCleanRoomsResponse:
|
|
|
1164
1164
|
)
|
|
1165
1165
|
|
|
1166
1166
|
|
|
1167
|
-
@dataclass
|
|
1168
|
-
class UpdateCleanRoomRequest:
|
|
1169
|
-
clean_room: Optional[CleanRoom] = None
|
|
1170
|
-
|
|
1171
|
-
name: Optional[str] = None
|
|
1172
|
-
"""Name of the clean room."""
|
|
1173
|
-
|
|
1174
|
-
def as_dict(self) -> dict:
|
|
1175
|
-
"""Serializes the UpdateCleanRoomRequest into a dictionary suitable for use as a JSON request body."""
|
|
1176
|
-
body = {}
|
|
1177
|
-
if self.clean_room:
|
|
1178
|
-
body["clean_room"] = self.clean_room.as_dict()
|
|
1179
|
-
if self.name is not None:
|
|
1180
|
-
body["name"] = self.name
|
|
1181
|
-
return body
|
|
1182
|
-
|
|
1183
|
-
def as_shallow_dict(self) -> dict:
|
|
1184
|
-
"""Serializes the UpdateCleanRoomRequest into a shallow dictionary of its immediate attributes."""
|
|
1185
|
-
body = {}
|
|
1186
|
-
if self.clean_room:
|
|
1187
|
-
body["clean_room"] = self.clean_room
|
|
1188
|
-
if self.name is not None:
|
|
1189
|
-
body["name"] = self.name
|
|
1190
|
-
return body
|
|
1191
|
-
|
|
1192
|
-
@classmethod
|
|
1193
|
-
def from_dict(cls, d: Dict[str, Any]) -> UpdateCleanRoomRequest:
|
|
1194
|
-
"""Deserializes the UpdateCleanRoomRequest from a dictionary."""
|
|
1195
|
-
return cls(clean_room=_from_dict(d, "clean_room", CleanRoom), name=d.get("name", None))
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
1167
|
class CleanRoomAssetsAPI:
|
|
1199
1168
|
"""Clean room assets are data and code objects — Tables, volumes, and notebooks that are shared with the
|
|
1200
1169
|
clean room."""
|
|
@@ -1209,7 +1178,8 @@ class CleanRoomAssetsAPI:
|
|
|
1209
1178
|
access the asset. Typically, you should use a group as the clean room owner.
|
|
1210
1179
|
|
|
1211
1180
|
:param clean_room_name: str
|
|
1212
|
-
|
|
1181
|
+
The name of the clean room this asset belongs to. This field is required for create operations and
|
|
1182
|
+
populated by the server for responses.
|
|
1213
1183
|
:param asset: :class:`CleanRoomAsset`
|
|
1214
1184
|
|
|
1215
1185
|
:returns: :class:`CleanRoomAsset`
|