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 presume this issue has something to do with typing_extensions, but not exactly sure how.
$ pip install typing-inspect==0.8.0
$ python
Python 3.10.8 (main, Dec 11 2022, 10:51:27) [Clang 11.0.3 (clang-1103.0.32.29)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from typing_inspect import typed_dict_keys
>>> from typing import TypedDict
>>> class A(TypedDict):
... x: bool
...
>>> typed_dict_keys(A)
>>>
On Python 3.9 and 3.11, I get the expected return value of {'x': <class 'bool'>}
The text was updated successfully, but these errors were encountered:
I presume this issue has something to do with
typing_extensions
, but not exactly sure how.On Python 3.9 and 3.11, I get the expected return value of
{'x': <class 'bool'>}
The text was updated successfully, but these errors were encountered: