Skip to content

Commit c0fa452

Browse files
author
Val Brodsky
committed
Replace LabelList with a list in LabelCollection
1 parent d2c8a01 commit c0fa452

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

labelbox/data/annotation_types/collection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,4 +295,4 @@ def __next__(self):
295295
return self._process(value)
296296

297297

298-
LabelCollection = Union[LabelList, LabelGenerator, Iterable[Label]]
298+
LabelCollection = Union[LabelGenerator, Iterable[Label]]

labelbox/data/serialization/labelbox_v1/converter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def serialize(
6969
Note that any metric annotations will not be written since they are not defined in the LBV1 format.
7070
7171
Args:
72-
labels: Either a LabelList or a LabelGenerator (LabelCollection)
72+
labels: Either a list of Label or a LabelGenerator (LabelCollection)
7373
Returns:
7474
A generator for accessing the labelbox json export representation of the data
7575
"""

0 commit comments

Comments
 (0)