From 1723927122eaed9d13c90a4e7b0a30ecee64831f Mon Sep 17 00:00:00 2001 From: Miaofei Date: Fri, 24 Jan 2020 14:28:00 -0800 Subject: [PATCH] update docstring Signed-off-by: Miaofei --- rclpy/rclpy/node.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rclpy/rclpy/node.py b/rclpy/rclpy/node.py index fc6372a6e..ece72d385 100644 --- a/rclpy/rclpy/node.py +++ b/rclpy/rclpy/node.py @@ -1701,7 +1701,7 @@ def get_publishers_info_by_topic( """ Return a list of publishers publishing to a given topic. - The returned parameter is a list of dictionaries, where each dictionary will contain + The returned parameter is a list of TopicEndpointInfo objects, where each will contain the node name, node namespace, topic type, topic endpoint's GID, and its QoS profile. When the `no_mangle` parameter is `true`, the provided `topic_name` should be a valid topic @@ -1728,7 +1728,7 @@ def get_subscriptions_info_by_topic( """ Return a list of subscriptions to a given topic. - The returned parameter is a list of dictionaries, where each dictionary will contain + The returned parameter is a list of TopicEndpointInfo objects, where each will contain the node name, node namespace, topic type, topic endpoint's GID, and its QoS profile. When the `no_mangle` parameter is `true`, the provided `topic_name` should be a valid topic