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

Commit ae2ddac

Browse files
Update connector.py
1 parent 7afd656 commit ae2ddac

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

labelpandas/connector.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,6 @@ def create_upload_dict(df:pandas.core.frame.DataFrame, lb_client:Client, base_cl
5353
global_key_to_upload_dict[str(res["global_key"])] = res
5454
if verbose:
5555
print(f'Generated upload list - {len(global_key_to_upload_dict)} data rows to upload')
56-
if failed_global_keys:
57-
if global_key_to_upload_dict:
58-
print(f'There were {len(failed_global_keys)} errors in creating your upload list - upload will continue and return a list of failed global keys')
59-
else:
60-
print(f'There were {len(failed_global_keys)} errors in creating your upload list - upload will not continue')
6156
return global_key_to_upload_dict, failed_global_keys
6257

6358
def create_data_rows(lb_client:Client, base_client:baseClient, row:pandas.core.series.Series,

0 commit comments

Comments
 (0)