Skip to content

Commit 26a0bc0

Browse files
committed
update hint
1 parent ef3cadb commit 26a0bc0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

labelbox/data/serialization/ndjson/objects.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,8 @@ def from_common(
307307
data)
308308

309309
@staticmethod
310-
def lookup_object(annotation: ObjectAnnotation) -> "NDObjectType":
310+
def lookup_object(
311+
annotation: Union[ObjectAnnotation, List]) -> "NDObjectType":
311312
if isinstance(annotation, list):
312313
result = NDSegments
313314
else:

0 commit comments

Comments
 (0)