You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think it should only return the actual type argument (i.e. (int,) in this case). Also IIUC it used to work in 3.8 by accident, please feel free to submit a PR fixing this (probably by introducing some dedicated support for Annotated)
Is
typing_inspect.get_args
expected to also return metadata args forAnnotated
?Python 3.9.5:
Python 3.8.6:
The text was updated successfully, but these errors were encountered: