__required_keys__
and __optional_keys__
are not inherited from TypedDict
#4396
Labels
addressed in next version
Issue is fixed and will appear in next published version
bug
Something isn't working
Mypy correctly reports:
whereas pyright 1.1.287 reports:
The relevant typeshed code is:
pyright/packages/pyright-internal/typeshed-fallback/stdlib/typing.pyi
Lines 792 to 797 in 440d54d
(And my Python version is 3.9.2 so this check should evaluate to true ... I ran pyright with
--pythonversion 3.9
to make sure but that didn't change anything).The text was updated successfully, but these errors were encountered: