Skip to content

Commit e38ba05

Browse files
Fix test
1 parent af080e7 commit e38ba05

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

encord/objects/ontology_object_instance.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
from dataclasses import dataclass, field
1717
from datetime import datetime
1818
from typing import (
19+
TYPE_CHECKING,
1920
Any,
2021
Dict,
2122
Iterable,
@@ -57,7 +58,6 @@
5758
_infer_attribute_from_answer,
5859
_search_child_attributes,
5960
)
60-
from encord.objects.ontology_labels_impl import LabelRowV2
6161
from encord.objects.ontology_object import Object
6262
from encord.objects.options import Option
6363
from encord.objects.types import (
@@ -68,6 +68,9 @@
6868
)
6969
from encord.objects.utils import check_email, short_uuid_str
7070

71+
if TYPE_CHECKING:
72+
from encord.objects.ontology_labels_impl import LabelRowV2
73+
7174

7275
class ObjectInstance:
7376
"""An object instance is an object that has coordinates and can be placed on one or multiple frames in a label row."""

0 commit comments

Comments
 (0)