Skip to content

Commit 3588e06

Browse files
committed
black
1 parent 9827089 commit 3588e06

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/sempy_labs/_helper_functions.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ def create_item(
303303
payload=payload,
304304
status_codes=[201, 202],
305305
lro_return_status_code=True,
306-
client='fabric_sp',
306+
client="fabric_sp",
307307
)
308308
print(
309309
f"{icons.green_dot} The '{name}' {item_type} has been successfully created within the '{workspace_name}' workspace."
@@ -408,7 +408,8 @@ def copy_item(
408408
# Get the existing source model
409409
if type == "Report" and keep_existing_bindings:
410410
result = _base_api(
411-
request=f"v1.0/myorg/groups/{target_workspace_id}/reports/{target_item_id}", client='fabric_sp',
411+
request=f"v1.0/myorg/groups/{target_workspace_id}/reports/{target_item_id}",
412+
client="fabric_sp",
412413
).json()
413414
dataset_id = result.get("datasetId")
414415
dataset_workspace_id = result.get("datasetWorkspaceId")
@@ -525,7 +526,7 @@ def get_item_definition(
525526
method="post",
526527
status_codes=None,
527528
lro_return_json=True,
528-
client='fabric_sp'
529+
client="fabric_sp",
529530
)
530531

531532
if return_dataframe:
@@ -576,7 +577,7 @@ def _get_item_definition(
576577
method="post",
577578
status_codes=None,
578579
lro_return_json=True,
579-
client='fabric_sp',
580+
client="fabric_sp",
580581
)
581582

582583
if return_dataframe:

0 commit comments

Comments
 (0)