mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 17:04:54 +01:00
conversion method for creator attributes
This commit is contained in:
parent
10b0cda6db
commit
17c1956b29
1 changed files with 14 additions and 0 deletions
|
|
@ -160,6 +160,20 @@ class BaseCreator:
|
|||
"""
|
||||
return []
|
||||
|
||||
def convert_family_attribute_values(self, attribute_values):
|
||||
"""Convert values loaded from workfile metadata.
|
||||
|
||||
If passed values match current creator version just return the value
|
||||
back. Update of changes in workfile must not happen in this method.
|
||||
|
||||
Args:
|
||||
attribute_values(dict): Values from instance metadata.
|
||||
|
||||
Returns:
|
||||
dict: Converted values.
|
||||
"""
|
||||
return attribute_values
|
||||
|
||||
|
||||
class Creator(BaseCreator):
|
||||
""""""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue