Skip to content

Commit b48940f

Browse files
committed
Add comment
1 parent dde802e commit b48940f

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
@@ -233,6 +233,7 @@ def _create_relationship_annotations(
233233
f"Unable to create relationship with non ObjectAnnotation source: {type(source)}"
234234
)
235235

236+
# Check if target type is valid
236237
if not isinstance(target, ObjectAnnotation):
237238
raise TypeError(
238239
f"Unable to create relationship with non ObjectAnnotation target: {type(target)}"

0 commit comments

Comments
 (0)