mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
deepcopy value
This commit is contained in:
parent
4340989039
commit
026eb67e91
1 changed files with 2 additions and 1 deletions
|
|
@ -1,5 +1,6 @@
|
|||
import logging
|
||||
import re
|
||||
import copy
|
||||
from typing import (
|
||||
Union,
|
||||
List,
|
||||
|
|
@ -1098,7 +1099,7 @@ class CreateModel:
|
|||
creator_attributes[key] = attr_def.default
|
||||
|
||||
elif attr_def.is_value_valid(value):
|
||||
creator_attributes[key] = value
|
||||
creator_attributes[key] = copy.deepcopy(value)
|
||||
|
||||
def _set_instances_publish_attr_values(
|
||||
self, instance_ids, plugin_name, key, value
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue