From 9b626489a8ccbafe304f124be0e1b8b553074cbe Mon Sep 17 00:00:00 2001 From: Xuwznln <18435084+Xuwznln@users.noreply.github.com> Date: Mon, 13 Oct 2025 21:20:42 +0800 Subject: [PATCH] Fix children key error --- unilabos/resources/graphio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unilabos/resources/graphio.py b/unilabos/resources/graphio.py index b9b63f34..bb317393 100644 --- a/unilabos/resources/graphio.py +++ b/unilabos/resources/graphio.py @@ -67,7 +67,7 @@ def canonicalize_nodes_data( if z is not None: node["position"]["position"]["z"] = z for k in list(node.keys()): - if k not in ["id", "uuid", "name", "description", "schema", "model", "icon", "parent_uuid", "parent", "type", "class", "position", "config", "data"]: + if k not in ["id", "uuid", "name", "description", "schema", "model", "icon", "parent_uuid", "parent", "type", "class", "position", "config", "data", "children"]: v = node.pop(k) node["config"][k] = v