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 1
1
# Changelog
2
2
3
+ # Version 3.0.1 (2021-08-12)
4
+ ## Fix
5
+ * Issue with inferring text type from export
6
+
3
7
# Version 3.0.0 (2021-08-12)
4
8
## Added
5
9
* Annotation types
Original file line number Diff line number Diff line change 1
1
name = "labelbox"
2
- __version__ = "3.0.0 "
2
+ __version__ = "3.0.1 "
3
3
4
4
from labelbox .schema .project import Project
5
5
from labelbox .client import Client
Original file line number Diff line number Diff line change 9
9
VideoObjectAnnotation )
10
10
from ...annotation_types .data import ImageData , TextData , VideoData
11
11
from ...annotation_types .label import Label
12
- from ...annotation_types .ner import TextEntity
13
12
from .classification import LBV1Classifications
14
- from .objects import LBV1Objects
13
+ from .objects import LBV1Objects , LBV1TextEntity
15
14
16
15
17
16
class LBV1LabelAnnotations (LBV1Classifications , LBV1Objects ):
@@ -220,7 +219,7 @@ def _has_object_annotations(self):
220
219
def _has_text_annotations (self ):
221
220
return len ([
222
221
annotation for annotation in self .label .objects
223
- if isinstance (annotation , TextEntity )
222
+ if isinstance (annotation , LBV1TextEntity )
224
223
]) > 0
225
224
226
225
def _row_contains (self , substrs ):
You can’t perform that action at this time.
0 commit comments