Skip to content

Commit c3925c9

Browse files
authored
[QQC-2017]Return batch size of accepted data rows only (#1121)
2 parents 9108e48 + 0871af9 commit c3925c9

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
@@ -794,7 +794,7 @@ def _create_batch_sync(self, name, dr_ids, global_keys, priority,
794794
timeout=180.0,
795795
experimental=True)["project"][method]
796796
batch = res['batch']
797-
batch['size'] = len(dr_ids)
797+
batch['size'] = res['batch']['size']
798798
return Entity.Batch(self.client,
799799
self.uid,
800800
batch,

0 commit comments

Comments
 (0)