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

Implement get_keyword_types for non parameterized types #87

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

iDentitY4
Copy link

@iDentitY4 iDentitY4 commented Feb 14, 2024

Implemented #83
When a type is parametrized like List, Union, Tuple, Literal then the type info is removed. See #84

Python 2 support should be working, but i didn't test it yet.
The import of get_type_hints will fall back to __annotations__ on below python 3.5. On python 2 if no robot_types is set then types will be empty.

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.

None yet

1 participant