mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
adde abstract method to be able know if entity has children by a path key
This commit is contained in:
parent
e0c48ec5c7
commit
16ae291386
8 changed files with 57 additions and 0 deletions
|
|
@ -107,6 +107,9 @@ class DictConditionalEntity(ItemEntity):
|
|||
for _key, _value in new_value.items():
|
||||
self.non_gui_children[self.current_enum][_key].set(_value)
|
||||
|
||||
def has_child_with_key(self, key):
|
||||
return key in self.keys()
|
||||
|
||||
def _item_initialization(self):
|
||||
self._default_metadata = NOT_SET
|
||||
self._studio_override_metadata = NOT_SET
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue