File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -303,6 +303,7 @@ def create_item(
303303 payload = payload ,
304304 status_codes = [201 , 202 ],
305305 lro_return_status_code = True ,
306+ client = 'fabric_sp' ,
306307 )
307308 print (
308309 f"{ icons .green_dot } The '{ name } ' { item_type } has been successfully created within the '{ workspace_name } ' workspace."
@@ -407,7 +408,7 @@ def copy_item(
407408 # Get the existing source model
408409 if type == "Report" and keep_existing_bindings :
409410 result = _base_api (
410- request = f"v1.0/myorg/groups/{ target_workspace_id } /reports/{ target_item_id } "
411+ request = f"v1.0/myorg/groups/{ target_workspace_id } /reports/{ target_item_id } " , client = 'fabric_sp' ,
411412 ).json ()
412413 dataset_id = result .get ("datasetId" )
413414 dataset_workspace_id = result .get ("datasetWorkspaceId" )
@@ -524,6 +525,7 @@ def get_item_definition(
524525 method = "post" ,
525526 status_codes = None ,
526527 lro_return_json = True ,
528+ client = 'fabric_sp'
527529 )
528530
529531 if return_dataframe :
@@ -574,6 +576,7 @@ def _get_item_definition(
574576 method = "post" ,
575577 status_codes = None ,
576578 lro_return_json = True ,
579+ client = 'fabric_sp' ,
577580 )
578581
579582 if return_dataframe :
You can’t perform that action at this time.
0 commit comments