Skip to content

Commit 47ff353

Browse files
author
Kevin Kim
committed
Fix create batch
1 parent 634e3c3 commit 47ff353

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

labelbox/schema/project.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -814,7 +814,7 @@ def create_batch(
814814
"`data_rows` must be DataRow ids or DataRow objects")
815815

816816
if data_rows is not None:
817-
row_count = len(data_rows)
817+
row_count = len(dr_ids)
818818
elif global_keys is not None:
819819
row_count = len(global_keys)
820820
else:

0 commit comments

Comments
 (0)