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

Commit 42b39ef

Browse files
Luke MoehlenbrockLuke Moehlenbrock
authored andcommitted
fixed prediction KeyError
1 parent 9e6e58e commit 42b39ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

labelpandas/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ def create_data_rows_from_table(
163163
batch_to_project_results = []
164164

165165
# If performing actions that require data row IDs, we pull them here using labelbase.uploader.create_global_key_to_data_row_id_dict
166-
if actions["annotate"] or actions["prediction"]:
166+
if actions["annotate"] or actions["predictions"]:
167167
global_key_to_data_row_id = create_global_key_to_data_row_id_dict(
168168
client=self.lb_client, global_keys=list(upload_dict.keys())
169169
)

0 commit comments

Comments
 (0)