mirror of
https://github.com/dptech-corp/Uni-Lab-OS.git
synced 2025-12-17 21:11:12 +00:00
remove extra key
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):
|
def resource_ulab_to_plr_inner(resource: dict):
|
||||||
all_states[resource["name"]] = resource["data"]
|
all_states[resource["name"]] = resource["data"]
|
||||||
|
extra = resource.pop("extra", {})
|
||||||
d = {
|
d = {
|
||||||
"name": resource["name"],
|
"name": resource["name"],
|
||||||
"type": resource["type"],
|
"type": resource["type"],
|
||||||
|
|||||||
Reference in New Issue
Block a user