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
The implementations come from CPython commit 427c84f13f77 with one small
change – the get_origin's docstring mentions Annotated as it's also
supported.
get_origin() and get_args() introduced in [1] and modified in [2] to
support Annotated.
[1] python/cpython#13685
[2] python/cpython#18260
* Define our own get_origin()/get_args() in typing_extensions on Python 3.8
Otherwise typing_extensions.get_origin() would not recognize
typing_extensions.Annotated on 3.8.
0 commit comments