mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 08:54:53 +01:00
get_family_attribute_defs wil return all definitions for all families
This commit is contained in:
parent
17c1956b29
commit
fc03295817
1 changed files with 1 additions and 9 deletions
|
|
@ -13,17 +13,9 @@ class OpenPypePyblishPluginMixin:
|
|||
_state_change_callbacks = []
|
||||
|
||||
@classmethod
|
||||
def get_family_attribute_defs(cls, families):
|
||||
def get_family_attribute_defs(cls):
|
||||
"""Publish attribute definitions per family.
|
||||
|
||||
Questions:
|
||||
Allow to pass multiple families at one time?
|
||||
- If yes return intersection of all attributes for all families or all attributes or attributes by family?
|
||||
- "attributes by family" seems most reasonable so "Main" logic can decide how to handle that.
|
||||
- also it is time saving if all instances will pass
|
||||
|
||||
Pass instance data (avalon instance) instead of families?
|
||||
|
||||
Args:
|
||||
families(list): List of families for which should return attribute
|
||||
definitions.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue