Skip to content

Commit

Permalink
fix type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
Victorlouisdg committed Mar 19, 2024
1 parent 0ee4599 commit f17f186
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion airo_models/urdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def _get_robot_element_by_name(urdf_dict: dict, element_type: str, element_name:
return None # Element not found


def get_link_by_name(urdf_dict: dict, link_name: str) -> str | None:
def get_link_by_name(urdf_dict: dict, link_name: str) -> dict | None:
"""Searches for a URDF link with the specified name.
Args:
Expand Down

0 comments on commit f17f186

Please sign in to comment.