mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 17:04:54 +01:00
changed get_family_attribute_defs to get_attribute_defs
This commit is contained in:
parent
6979b4955a
commit
91c3f31322
1 changed files with 5 additions and 8 deletions
|
|
@ -13,17 +13,14 @@ class OpenPypePyblishPluginMixin:
|
|||
_state_change_callbacks = []
|
||||
|
||||
@classmethod
|
||||
def get_family_attribute_defs(cls):
|
||||
"""Publish attribute definitions per family.
|
||||
|
||||
Args:
|
||||
families(list): List of families for which should return attribute
|
||||
definitions.
|
||||
def get_attribute_defs(cls):
|
||||
"""Publish attribute definitions.
|
||||
|
||||
Attributes available for all families in plugin's `families` attribute.
|
||||
Returns:
|
||||
dict<list<AbtractAttrDef>>: Attribute definitions per family.
|
||||
list<AbtractAttrDef>: Attribute definitions for plugin.
|
||||
"""
|
||||
return {}
|
||||
return []
|
||||
|
||||
def set_state(self, percent=None, message=None):
|
||||
"""Inner callback of plugin that would help to show in UI state.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue