Skip to content

Commit 38d3bb7

Browse files
author
gdj0nes
committed
FIX: data type hint
1 parent e79ee8a commit 38d3bb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

labelbox/data/annotation_types/label.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class Label(BaseModel):
3535
extra: additional context
3636
"""
3737
uid: Optional[Cuid] = None
38-
data: Union[BaseData]
38+
data: Union[VideoData, ImageData, TextData]
3939
annotations: List[Union[ClassificationAnnotation, ObjectAnnotation,
4040
VideoObjectAnnotation,
4141
VideoClassificationAnnotation, ScalarMetric,

0 commit comments

Comments
 (0)