Skip to content

Commit 9d37d5a

Browse files
authored
Merge pull request #158 from Labelbox/ms/v2.5.6
prep for release
2 parents 262c21a + 4fa97e6 commit 9d37d5a

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
# Changelog
2+
# Version 2.5.6 (2021-05-19)
3+
## Fix
4+
* MAL validation no longer raises exception when NER tool has same start and end location
5+
26
# Version 2.5.5 (2021-05-17)
37
## Added
48
* `DataRow` now has a `media_attributes` field

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 = '2.5.5'
24+
release = '2.5.6'
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__ = "2.5.5"
2+
__version__ = "2.5.6"
33

44
from labelbox.client import Client
55
from labelbox.schema.bulk_import_request import BulkImportRequest

labelbox/schema/bulk_import_request.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -762,7 +762,8 @@ def is_valid_location(cls, v):
762762
raise ValueError(f"Text location must be positive. Found {v}")
763763
if v['start'] > v['end']:
764764
raise ValueError(
765-
f"Text start location must be less or equal than end. Found {v}")
765+
f"Text start location must be less or equal than end. Found {v}"
766+
)
766767
return v
767768

768769

0 commit comments

Comments
 (0)