adjust with_children param

This commit is contained in:
Xuwznln
2025-11-03 16:31:37 +08:00
parent 0fda155f55
commit 39bb7dc627

View File

@@ -656,7 +656,7 @@ class BaseROS2DeviceNode(Node, Generic[T]):
].call_async(
SerialCommand.Request(
command=json.dumps(
{"data": {"data": resources_uuid, "with_children": False}, "action": "get"}
{"data": {"data": resources_uuid, "with_children": True if action == "add" else "update"}, "action": "get"}
)
)
) # type: ignore