Skip to content

Commit

Permalink
Add types to expand_topic_name (#1238)
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Carlstrom <[email protected]>
  • Loading branch information
InvincibleRMC authored Mar 8, 2024
1 parent cbc2180 commit bd892a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rclpy/rclpy/expand_topic_name.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
from rclpy.impl.implementation_singleton import rclpy_implementation as _rclpy


def expand_topic_name(topic_name, node_name, node_namespace):
def expand_topic_name(topic_name: str, node_name: str, node_namespace: str) -> str:
"""
Expand a given topic name using given node name and namespace as well.
Expand Down

0 comments on commit bd892a7

Please sign in to comment.