We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
get_origin
Annotated
Is typing_inspect.get_origin expected to differ from typing.get_origin for Annotated types?
typing_inspect.get_origin
typing.get_origin
>>> import typing, typing_inspect >>> typing.get_origin(typing.Annotated[str, "metadata"]) <class 'typing.Annotated'> >>> typing_inspect.get_origin(typing.Annotated[str, "metadata"]) <class 'str'>
Note that I am using typing_inspect 0.9.0 and have tested the above on Python 3.11, 3.12, and 3.13. Thanks!
typing_inspect
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Is
typing_inspect.get_origin
expected to differ fromtyping.get_origin
forAnnotated
types?Note that I am using
typing_inspect
0.9.0 and have tested the above on Python 3.11, 3.12, and 3.13. Thanks!The text was updated successfully, but these errors were encountered: