mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
implemented root_key propery for rest of entities
This commit is contained in:
parent
ac36919e26
commit
81bebe03c6
1 changed files with 4 additions and 0 deletions
|
|
@ -871,6 +871,10 @@ class ItemEntity(BaseItemEntity):
|
|||
"""Call save on root item."""
|
||||
self.root_item.save()
|
||||
|
||||
@property
|
||||
def root_key(self):
|
||||
return self.root_item.root_key
|
||||
|
||||
def schema_validations(self):
|
||||
if not self.label and self.use_label_wrap:
|
||||
reason = (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue