mirror of
https://github.com/dptech-corp/Uni-Lab-OS.git
synced 2025-12-17 04:51:10 +00:00
Update resource extra & uuid.
use ordering to convert identifier to idx convert identifier to site idx correct extra key update extra before transfer fix multiple instance error add resource_tree_transfer func fox itemrized carrier assign child resource support internal device material transfer remove extra key use same callback group support material extra support material extra support update_resource_site in extra
This commit is contained in:
@@ -535,6 +535,7 @@ def resource_ulab_to_plr(resource: dict, plr_model=False) -> "ResourcePLR":
|
||||
|
||||
def resource_ulab_to_plr_inner(resource: dict):
|
||||
all_states[resource["name"]] = resource["data"]
|
||||
extra = resource.pop("extra", {})
|
||||
d = {
|
||||
"name": resource["name"],
|
||||
"type": resource["type"],
|
||||
|
||||
Reference in New Issue
Block a user