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
This doesn't seem feasible now that we have the total= keyword argument to TypedDict. Also, TypedDict is officially supported in Python and we want to avoid mypy-specific extensions.
Bug Report
In the typing docs for
TypedDict
there is an example of defining aTypedDict
using keywords mapped to typesWhen running mypy on this exact example, I get the following error:
If using the alternative definition with a positional dictionary, no error.
Link to docs:
https://docs.python.org/3/library/typing.html#typing.TypedDict
To Reproduce
Expected Behavior
No error
Actual Behavior
Error.
Your Environment
mypy.ini
(and other config files): ignore_missing_imports=trueThe text was updated successfully, but these errors were encountered: