-
Notifications
You must be signed in to change notification settings - Fork 289
Closed
Labels
Description
@rchen152 Forgive me for the naive question, but am I correct that TypedDict support from the typing module is not supported by PyType (as of version 2021.02.09 while running against Python 3.8)? Issue #680 corroborates this but the error message I get is unclear.
I get an import-error rather than a not supported error, which is confusing me. Equally I may be doing something utterly wrong!
I get the following
$ pytype -V 3.8
...
Can't find module 'typing.TypedDict'. [import-error]
# some_file.py
from typing import TypedDict
Keywords = TypedDict(
"Keywords",
{
"foo": str,
"bar": str,
"bat": bool,
},
)