Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed type hints in ros_loader.py to use imports from Typing #938

Merged
merged 2 commits into from
Aug 14, 2024

Conversation

EricGallimore
Copy link
Contributor

Changed type hints in ros_loader.py to use imports from Typing, restoring compatibility with Python <3.9.

Public API Changes
None

Description
Changes type hints to use imports from Typing:

from typing import Dict, Tuple

and then

Dict[str, Any]
Tuple[str, str]

in place of dict[str, Any] and tuple[str, str]

Resolves #937.

@sea-bass sea-bass merged commit 01c972d into RobotWebTools:ros2 Aug 14, 2024
4 checks passed
sea-bass added a commit that referenced this pull request Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Type string introduces depedency on Python >=3.9
2 participants