Skip to content

Commit 76bdf35

Browse files
chore: lint
1 parent d2dc658 commit 76bdf35

File tree

3 files changed

+67
-2
lines changed

3 files changed

+67
-2
lines changed

libs/labelbox/src/labelbox/data/annotation_types/__init__.py

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,3 +63,70 @@
6363
MessageRankingTask,
6464
MessageEvaluationTaskAnnotation,
6565
)
66+
67+
__all__ = [
68+
# Geometry
69+
"Line",
70+
"Point",
71+
"Mask",
72+
"Polygon",
73+
"Rectangle",
74+
"Geometry",
75+
"DocumentRectangle",
76+
"RectangleUnit",
77+
# Annotation
78+
"ClassificationAnnotation",
79+
"ObjectAnnotation",
80+
# Relationship
81+
"RelationshipAnnotation",
82+
"Relationship",
83+
# Video
84+
"VideoClassificationAnnotation",
85+
"VideoObjectAnnotation",
86+
"MaskFrame",
87+
"MaskInstance",
88+
"VideoMaskAnnotation",
89+
# Temporal
90+
"TemporalClassificationText",
91+
"TemporalClassificationQuestion",
92+
"TemporalClassificationAnswer",
93+
# NER
94+
"ConversationEntity",
95+
"DocumentEntity",
96+
"DocumentTextSelection",
97+
"TextEntity",
98+
# Classification
99+
"Checklist",
100+
"ClassificationAnswer",
101+
"Radio",
102+
"Text",
103+
# Data
104+
"GenericDataRowData",
105+
"MaskData",
106+
# Label
107+
"Label",
108+
"LabelGenerator",
109+
# Metrics
110+
"ScalarMetric",
111+
"ScalarMetricAggregation",
112+
"ConfusionMatrixMetric",
113+
"ConfusionMatrixAggregation",
114+
"ScalarMetricValue",
115+
"ConfusionMatrixMetricValue",
116+
# Tiled Image
117+
"EPSG",
118+
"EPSGTransformer",
119+
"TiledBounds",
120+
"TiledImageData",
121+
"TileLayer",
122+
# LLM Prompt Response
123+
"PromptText",
124+
"PromptClassificationAnnotation",
125+
# MMC
126+
"MessageInfo",
127+
"OrderedMessageInfo",
128+
"MessageSingleSelectionTask",
129+
"MessageMultiSelectionTask",
130+
"MessageRankingTask",
131+
"MessageEvaluationTaskAnnotation",
132+
]

libs/labelbox/src/labelbox/data/serialization/ndjson/label.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
from ...annotation_types.temporal import (
2929
TemporalClassificationText,
3030
TemporalClassificationQuestion,
31-
TemporalClassificationAnswer,
3231
)
3332
from .temporal import create_temporal_ndjson_annotations
3433
from labelbox.types import DocumentRectangle, DocumentEntity

libs/labelbox/src/labelbox/data/serialization/ndjson/temporal.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
from ...annotation_types.temporal import (
1414
TemporalClassificationText,
1515
TemporalClassificationQuestion,
16-
TemporalClassificationAnswer,
1716
)
1817

1918
logger = logging.getLogger(__name__)

0 commit comments

Comments
 (0)