File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed
data/serialization/labelbox_v1 Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 11# Changelog
22
3+ # Version 3.0.1 (2021-08-12)
4+ ## Fix
5+ * Issue with inferring text type from export
6+
37# Version 3.0.0 (2021-08-12)
48## Added
59* Annotation types
Original file line number Diff line number Diff line change 11name = "labelbox"
2- __version__ = "3.0.0 "
2+ __version__ = "3.0.1 "
33
44from labelbox .schema .project import Project
55from labelbox .client import Client
Original file line number Diff line number Diff line change 99 VideoObjectAnnotation )
1010from ...annotation_types .data import ImageData , TextData , VideoData
1111from ...annotation_types .label import Label
12- from ...annotation_types .ner import TextEntity
1312from .classification import LBV1Classifications
14- from .objects import LBV1Objects
13+ from .objects import LBV1Objects , LBV1TextEntity
1514
1615
1716class LBV1LabelAnnotations (LBV1Classifications , LBV1Objects ):
@@ -220,7 +219,7 @@ def _has_object_annotations(self):
220219 def _has_text_annotations (self ):
221220 return len ([
222221 annotation for annotation in self .label .objects
223- if isinstance (annotation , TextEntity )
222+ if isinstance (annotation , LBV1TextEntity )
224223 ]) > 0
225224
226225 def _row_contains (self , substrs ):
You can’t perform that action at this time.
0 commit comments