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

Commit ed1d715

Browse files
Update client.py
1 parent 5925ee4 commit ed1d715

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

labelpandas/client.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,10 @@ def create_data_rows_from_table(
8282

8383
# If df returns False, the sync failed - terminate the upload
8484
if type(table) == bool:
85-
return {"upload_results" : [], "conversion_errors" : []}
85+
return {
86+
"data_row_upload_results" : [], "data_row_conversion_errors" : [],
87+
"batch_to_project_errors" : [], "annotation_upload_results" : [], "annotation_conversion_errors" : []
88+
}
8689

8790
# Create a dictionary where {key=global_key : value=data_row_upload_dict} - this is unique to Pandas
8891
global_key_to_upload_dict, data_row_conversion_errors = connector.create_data_row_upload_dict(

0 commit comments

Comments
 (0)