Skip to content

Commit 327d13a

Browse files
committed
set it up as class method
1 parent 3d6f3a1 commit 327d13a

File tree

1 file changed

+1
-0
lines changed
  • libs/labelbox/src/labelbox/data/serialization/ndjson

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ def _create_non_video_annotations(cls, label: Label):
190190
f"Unable to convert object to MAL format. `{type(getattr(annotation, 'value',annotation))}`"
191191
)
192192

193+
@classmethod
193194
def _create_relationship_annotations(cls, label: Label):
194195
for annotation in label.annotations:
195196
if isinstance(annotation, RelationshipAnnotation):

0 commit comments

Comments
 (0)