Skip to content

Commit 8ffa9da

Browse files
Merge pull request #984 from Labelbox/kkim/fix-create-batch
Fix create batch
2 parents 634e3c3 + fcebdd2 commit 8ffa9da

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
# Version 3.40.1 (2023-03-10)
4+
5+
## Fixed
6+
* Fixed issue where calling create_batch() on exported data rows wasn't working
7+
38
# Version 3.40.0 (2023-03-10)
49

510
## Added

docs/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
copyright = '2021, Labelbox'
2222
author = 'Labelbox'
2323

24-
release = '3.40.0'
24+
release = '3.40.1'
2525

2626
# -- General configuration ---------------------------------------------------
2727

labelbox/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name = "labelbox"
2-
__version__ = "3.40.0"
2+
__version__ = "3.40.1"
33

44
from labelbox.client import Client
55
from labelbox.schema.project import Project

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)