msfabricpysdkcore 0.2.4__py3-none-any.whl → 0.2.5__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.
- msfabricpysdkcore/coreapi.py +21 -1
- {msfabricpysdkcore-0.2.4.dist-info → msfabricpysdkcore-0.2.5.dist-info}/METADATA +2 -2
- {msfabricpysdkcore-0.2.4.dist-info → msfabricpysdkcore-0.2.5.dist-info}/RECORD +6 -6
- {msfabricpysdkcore-0.2.4.dist-info → msfabricpysdkcore-0.2.5.dist-info}/WHEEL +1 -1
- {msfabricpysdkcore-0.2.4.dist-info → msfabricpysdkcore-0.2.5.dist-info}/licenses/LICENSE +0 -0
- {msfabricpysdkcore-0.2.4.dist-info → msfabricpysdkcore-0.2.5.dist-info}/top_level.txt +0 -0
msfabricpysdkcore/coreapi.py
CHANGED
@@ -1383,7 +1383,11 @@ class FabricClientCore(FabricClient):
|
|
1383
1383
|
"sparkJobDefinitions",
|
1384
1384
|
"SQLDatabases",
|
1385
1385
|
"warehouses"]:
|
1386
|
-
|
1386
|
+
|
1387
|
+
if type == "lakehouses":
|
1388
|
+
if "creation_payload" in kwargs:
|
1389
|
+
body["creationPayload"] = kwargs["creation_payload"]
|
1390
|
+
|
1387
1391
|
if type == "kqlDatabases":
|
1388
1392
|
if "creation_payload" not in kwargs:
|
1389
1393
|
raise Exception("creation_payload is required for KQLDatabase")
|
@@ -3887,6 +3891,22 @@ class FabricClientCore(FabricClient):
|
|
3887
3891
|
type = "lakehouses",
|
3888
3892
|
description = description)
|
3889
3893
|
|
3894
|
+
def create_lakehouse_with_schema(self, workspace_id, display_name, creation_payload, description = None):
|
3895
|
+
"""Create a lakehouse in a workspace
|
3896
|
+
Args:
|
3897
|
+
workspace_id (str): The ID of the workspace
|
3898
|
+
creation_payload (dict): The creation payload
|
3899
|
+
display_name (str): The display name of the lakehouse
|
3900
|
+
description (str): The description of the lakehouse
|
3901
|
+
Returns:
|
3902
|
+
dict: The created lakehouse
|
3903
|
+
"""
|
3904
|
+
return self.create_item(workspace_id = workspace_id,
|
3905
|
+
display_name = display_name,
|
3906
|
+
type = "lakehouses",
|
3907
|
+
creation_payload = creation_payload,
|
3908
|
+
description = description)
|
3909
|
+
|
3890
3910
|
def delete_lakehouse(self, workspace_id, lakehouse_id):
|
3891
3911
|
"""Delete a lakehouse from a workspace
|
3892
3912
|
Args:
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: msfabricpysdkcore
|
3
|
-
Version: 0.2.
|
3
|
+
Version: 0.2.5
|
4
4
|
Summary: A Python SDK for Microsoft Fabric
|
5
5
|
Author: Andreas Rederer
|
6
6
|
Project-URL: Homepage, https://github.com/DaSenf1860/ms-fabric-sdk-core
|
@@ -18,7 +18,7 @@ Dynamic: requires-dist
|
|
18
18
|
|
19
19
|
# Python SDK for Microsoft Fabric
|
20
20
|
|
21
|
-
This is a Python SDK for Microsoft Fabric. It is a wrapper around the REST APIs (v1) of Fabric*. It supports all Fabric REST APIs as well as Azure Resource Management APIs for Fabric (as of
|
21
|
+
This is a Python SDK for Microsoft Fabric. It is a wrapper around the REST APIs (v1) of Fabric*. It supports all Fabric REST APIs as well as Azure Resource Management APIs for Fabric (as of May 19, 2025).
|
22
22
|
|
23
23
|

|
24
24
|
|
@@ -5,7 +5,7 @@ msfabricpysdkcore/adminapi.py,sha256=ldne1ML_t_o42WGwz9UNJM_qEaT9kjtmypexY3ECpZE
|
|
5
5
|
msfabricpysdkcore/auth.py,sha256=Y9YUDqoArvkD7rLnbQvNBnCXqHJtw6PDRUHMx0CVMT0,4330
|
6
6
|
msfabricpysdkcore/capacity.py,sha256=Q_2-XrZtdf9F67fY0qU3D0ocEOGQq4KtIXAv9dXjQhI,1761
|
7
7
|
msfabricpysdkcore/client.py,sha256=KpHREbfzQRRighyJzyES3COZP3raK0C1-WhxGd07LHU,7890
|
8
|
-
msfabricpysdkcore/coreapi.py,sha256=
|
8
|
+
msfabricpysdkcore/coreapi.py,sha256=M4-n_6Qelj3obK_OaLZ1wJa9MMY-GT75-hYymHGFrTE,258752
|
9
9
|
msfabricpysdkcore/deployment_pipeline.py,sha256=0yTLwSJZDSLF5LU882GuTs-_KZkMDP_k5l_GAV1nf-Y,10156
|
10
10
|
msfabricpysdkcore/domain.py,sha256=MAv7R64waQgI3OF1f5hmMdH98pJIb-BPTCZSvPZDzgU,7061
|
11
11
|
msfabricpysdkcore/environment.py,sha256=4k2Le1mAQIrfcpNc3n1DbgdCzAldGTSTCbiDQGk0DlA,2784
|
@@ -68,8 +68,8 @@ msfabricpysdkcore/tests/test_warehouses.py,sha256=CKF2kJMe-JSOWWok3dR_hn5HNwz9Gt
|
|
68
68
|
msfabricpysdkcore/tests/test_workspaces_capacities.py,sha256=V5ePndbtLVyYNa8Kug1Ul0oOF-Jd6DXEl8PclgfLhuw,6822
|
69
69
|
msfabricpysdkcore/util/__init__.py,sha256=p-1dC4AurfKdIUppNVlRCIcmwHBTURqfgIwxcie3fEA,50
|
70
70
|
msfabricpysdkcore/util/logger.py,sha256=XXdeaqI-BhXZgacChKrWP88TPU4FTWvS8L0YWjCT54A,1166
|
71
|
-
msfabricpysdkcore-0.2.
|
72
|
-
msfabricpysdkcore-0.2.
|
73
|
-
msfabricpysdkcore-0.2.
|
74
|
-
msfabricpysdkcore-0.2.
|
75
|
-
msfabricpysdkcore-0.2.
|
71
|
+
msfabricpysdkcore-0.2.5.dist-info/licenses/LICENSE,sha256=1NrGuF-zOmzbwzk3iI6lsP9koyDeKO1B0-8OD_tTvOQ,1156
|
72
|
+
msfabricpysdkcore-0.2.5.dist-info/METADATA,sha256=A0D3cCgmHOhA4BjlezkxOTB_PEskDPY4FcP1vg8jrYg,39753
|
73
|
+
msfabricpysdkcore-0.2.5.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
74
|
+
msfabricpysdkcore-0.2.5.dist-info/top_level.txt,sha256=3iRonu6ptDGQN4Yl6G76XGM7xbFNsskiEHW-P2gMQGY,18
|
75
|
+
msfabricpysdkcore-0.2.5.dist-info/RECORD,,
|
File without changes
|
File without changes
|