mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
added root_key as abstract property to BaseEntity
This commit is contained in:
parent
944a347ff8
commit
251d3add01
1 changed files with 5 additions and 0 deletions
|
|
@ -279,6 +279,11 @@ class BaseItemEntity(BaseEntity):
|
|||
self, "Dynamic entity can't require restart."
|
||||
)
|
||||
|
||||
@abstractproperty
|
||||
def root_key(self):
|
||||
"""Root is represented as this dictionary key."""
|
||||
pass
|
||||
|
||||
@abstractmethod
|
||||
def set_override_state(self, state):
|
||||
"""Set override state and trigger it on children.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue