Skip to content

Commit be45e4c

Browse files
author
Matt Sokoloff
committed
clean up imports
1 parent 029cc49 commit be45e4c

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

labelbox/data/annotation_types/collection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from labelbox.data.ontology import get_classifications, get_tools
21
import logging
32
from concurrent.futures import ThreadPoolExecutor, as_completed
43
from typing import Callable, Generator, Iterable, Union
@@ -8,6 +7,7 @@
87

98
from labelbox.schema import ontology
109
from labelbox.orm.model import Entity
10+
from ..ontology import get_classifications, get_tools
1111
from ..generator import PrefetchGenerator
1212
from .label import Label
1313

labelbox/data/annotation_types/label.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,18 @@
11
from collections import defaultdict
2-
from labelbox.data.ontology import get_feature_schema_lookup
3-
42
from typing import Any, Callable, Dict, List, Union
53

6-
from pydantic import BaseModel
4+
from pydantic import BaseModel, validator
75

86
from labelbox.schema import ontology
97
from labelbox.orm.model import Entity
8+
from ..ontology import get_feature_schema_lookup
109
from .classification import ClassificationAnswer
1110
from .data import VideoData, TextData, RasterData
1211
from .geometry import Mask
1312
from .metrics import Metric
1413
from .annotation import (ClassificationAnnotation, ObjectAnnotation,
1514
VideoClassificationAnnotation, VideoObjectAnnotation)
1615

17-
from pydantic import validator
18-
19-
from labelbox.data.annotation_types import geometry
2016

2117

2218
class Label(BaseModel):

0 commit comments

Comments
 (0)