mirror of
https://github.com/dptech-corp/Uni-Lab-OS.git
synced 2025-12-17 13:01:12 +00:00
remove extra key
This commit is contained in:
@@ -468,7 +468,6 @@ class ResourceTreeSet(object):
|
|||||||
"category": res.config.get("category", plr_type),
|
"category": res.config.get("category", plr_type),
|
||||||
"children": [node_to_plr_dict(child, has_model) for child in node.children],
|
"children": [node_to_plr_dict(child, has_model) for child in node.children],
|
||||||
"parent_name": res.parent_instance_name,
|
"parent_name": res.parent_instance_name,
|
||||||
"extra": res.extra,
|
|
||||||
}
|
}
|
||||||
if has_model:
|
if has_model:
|
||||||
d["model"] = res.config.get("model", None)
|
d["model"] = res.config.get("model", None)
|
||||||
|
|||||||
Reference in New Issue
Block a user