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

Commit 78017bd

Browse files
Update client.py
1 parent 64692f7 commit 78017bd

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

labelpandas/client.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,3 +322,16 @@ def upsert_data_rows_from_table(batch_data_rows:bool=False, anootation_method:st
322322
else:
323323
data_row_to_model_run_results = []
324324
prediction_upload_results = []
325+
326+
return_payload = {
327+
"batch_to_project_results" : batch_to_project_results,
328+
"annotation_upload_results" : annotation_upload_results,
329+
"ground_truth_upload_results" : ground_truth_upload_results,
330+
"data_row_to_model_run_results" : data_row_to_model_run_results,
331+
"prediction_upload_results" : prediction_upload_results
332+
}
333+
334+
return_payload = {k: v for k, v in return_payload.items() if v}
335+
336+
return return_payload
337+

0 commit comments

Comments
 (0)