mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
added is_base_class to create base classes
This commit is contained in:
parent
74dc83d14a
commit
074c43ff68
1 changed files with 4 additions and 1 deletions
|
|
@ -651,7 +651,7 @@ class Creator(BaseCreator):
|
||||||
|
|
||||||
Creation requires prepared product name and instance data.
|
Creation requires prepared product name and instance data.
|
||||||
"""
|
"""
|
||||||
|
is_base_class = True
|
||||||
# GUI Purposes
|
# GUI Purposes
|
||||||
# - default_variants may not be used if `get_default_variants`
|
# - default_variants may not be used if `get_default_variants`
|
||||||
# is overridden
|
# is overridden
|
||||||
|
|
@ -949,6 +949,8 @@ class Creator(BaseCreator):
|
||||||
|
|
||||||
|
|
||||||
class HiddenCreator(BaseCreator):
|
class HiddenCreator(BaseCreator):
|
||||||
|
is_base_class = True
|
||||||
|
|
||||||
@abstractmethod
|
@abstractmethod
|
||||||
def create(self, instance_data, source_data):
|
def create(self, instance_data, source_data):
|
||||||
pass
|
pass
|
||||||
|
|
@ -959,6 +961,7 @@ class AutoCreator(BaseCreator):
|
||||||
|
|
||||||
Can be used e.g. for `workfile`.
|
Can be used e.g. for `workfile`.
|
||||||
"""
|
"""
|
||||||
|
is_base_class = True
|
||||||
|
|
||||||
def remove_instances(self, instances):
|
def remove_instances(self, instances):
|
||||||
"""Skip removal."""
|
"""Skip removal."""
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue