Skip to content
This repository was archived by the owner on Jul 29, 2024. It is now read-only.

Commit 5a3a744

Browse files
Update connector.py
1 parent 39f79a5 commit 5a3a744

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

labelpandas/connector.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def create_upload_dict(df:pandas.core.frame.DataFrame, lb_client:Client, base_cl
5050
if res['error']:
5151
errors.append(res)
5252
else:
53-
global_key_to_upload_dict[str(res["global_key"])] = res
53+
global_key_to_upload_dict[str(res['result']["global_key"])] = res['result']
5454
if verbose:
5555
print(f'Generated upload list - {len(global_key_to_upload_dict)} data rows to upload')
5656
return global_key_to_upload_dict, errors

0 commit comments

Comments
 (0)