mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
modified error message
This commit is contained in:
parent
13f6661a7c
commit
3f97ee17b3
1 changed files with 5 additions and 2 deletions
|
|
@ -38,8 +38,11 @@ class AnatomyEntity(DictImmutableKeysEntity):
|
|||
]
|
||||
reason = (
|
||||
"Anatomy must have all children as groups."
|
||||
" Non-group children {}"
|
||||
).format(", ".join(_non_group_children))
|
||||
" Set 'is_group' to `true` on > {}"
|
||||
).format(", ".join([
|
||||
'"{}"'.format(item)
|
||||
for item in _non_group_children
|
||||
]))
|
||||
raise EntitySchemaError(self, reason)
|
||||
|
||||
return super(AnatomyEntity, self).schema_validations()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue