File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
labelbox/data/serialization/ndjson Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -352,10 +352,13 @@ def to_common(self) -> TextEntity:
352
352
return TextEntity (start = self .location .start , end = self .location .end )
353
353
354
354
@classmethod
355
- def from_common (cls , text_entity : TextEntity ,
356
- classifications : List [ClassificationAnnotation ], name : str ,
357
- feature_schema_id : Cuid , extra : Dict [str , Any ],
358
- data : Union [ImageData ,TextData ],
355
+ def from_common (cls ,
356
+ text_entity : TextEntity ,
357
+ classifications : List [ClassificationAnnotation ],
358
+ name : str ,
359
+ feature_schema_id : Cuid ,
360
+ extra : Dict [str , Any ],
361
+ data : Union [ImageData , TextData ],
359
362
confidence : Optional [float ] = None ) -> "NDTextEntity" :
360
363
return cls (location = Location (
361
364
start = text_entity .start ,
You can’t perform that action at this time.
0 commit comments