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

Commit e7fac94

Browse files
Update client.py
1 parent 4c59cd3 commit e7fac94

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

labelpandas/client.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,9 +155,10 @@ def create_data_rows_from_table(
155155

156156
# If performing actions that require data row IDs, we pull them here using labelbase.uploader.create_global_key_to_data_row_id_dict
157157
if actions["batch"] or actions["annotate"] or actions["prediction"]:
158-
print(upload_dict.keys())
158+
all_global_keys = list(upload_dict.keys())
159+
print(all_global_keys)
159160
global_key_to_data_row_id = create_global_key_to_data_row_id_dict(
160-
client=self.lb_client, global_keys=list(upload_dict.keys())
161+
client=self.lb_client, global_keys=all_global_keys
161162
)
162163

163164
# Bath to project attempt using labelbase.uploader.batch_rows_to_project

0 commit comments

Comments
 (0)