Skip to content

Commit 7f948f9

Browse files
committed
update error
1 parent 86f338c commit 7f948f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

labelbox/data/serialization/ndjson/classification.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def validate_name(cls, v, values):
2424
def validate_id(cls, v, values):
2525
if v is None and 'name' not in values:
2626
raise ValueError(
27-
"Schema ids or names are not set. Use `LabelGenerator.assign_feature_schema_ids`, `LabelList.assign_feature_schema_ids`, or `Label.assign_feature_schema_ids`."
27+
"Schema ids or names are not set. Either set name or schema_id.`."
2828
)
2929
return v
3030

0 commit comments

Comments
 (0)