mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 08:54:53 +01:00
created class for family attribute values
This commit is contained in:
parent
9a16db0136
commit
a45690641f
1 changed files with 5 additions and 1 deletions
|
|
@ -13,6 +13,10 @@ import six
|
|||
from openpype.lib import get_subset_name
|
||||
|
||||
|
||||
class FamilyAttributeValues(dict):
|
||||
pass
|
||||
|
||||
|
||||
class AvalonInstance:
|
||||
"""Instance entity with data that will be stored to workfile.
|
||||
|
||||
|
|
@ -53,7 +57,7 @@ class AvalonInstance:
|
|||
self._data["version"] = data.get("version")
|
||||
# Stored family specific attribute values
|
||||
# {key: value}
|
||||
self._data["family_attributes"] = {}
|
||||
self._data["family_attributes"] = FamilyAttributeValues()
|
||||
# Stored publish specific attribute values
|
||||
# {<plugin name>: {key: value}}
|
||||
self._data["publish_attributes"] = {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue