Incompatible assignment using TypedDict in Generic class #12385
Labels
bug
mypy got something wrong
topic-type-form
TypeForm might fix this
topic-typed-dict
topic-usability
https://mypy-play.net/?mypy=latest&python=3.10&gist=6223ebcaa996d172199c2ba03b3b677f
I think I found a bug when using
TypedDict
as a generic argument, unless I'm missing something the code above should type check, and it does on pyright, but mypy returns a weird error message.Your Environment
mypy.ini
(and other config files): NoneThe text was updated successfully, but these errors were encountered: