We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dde802e commit b48940fCopy full SHA for b48940f
libs/labelbox/src/labelbox/data/serialization/ndjson/label.py
@@ -233,6 +233,7 @@ def _create_relationship_annotations(
233
f"Unable to create relationship with non ObjectAnnotation source: {type(source)}"
234
)
235
236
+ # Check if target type is valid
237
if not isinstance(target, ObjectAnnotation):
238
raise TypeError(
239
f"Unable to create relationship with non ObjectAnnotation target: {type(target)}"
0 commit comments