adjust with_children param

This commit is contained in:
Xuwznln
2025-11-03 16:31:37 +08:00
parent 0f341e9b4d
commit 1b2c0dbcd7

View File

@@ -656,7 +656,7 @@ class BaseROS2DeviceNode(Node, Generic[T]):
].call_async( ].call_async(
SerialCommand.Request( SerialCommand.Request(
command=json.dumps( 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 ) # type: ignore