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
{{ message }}
Repository navigation
Accessing a NotRequired field in a TypedDict does not error #17329
The final line should produce an error, either that "Field" is not necessarily defined or that the resulting access might produce a None, and that val is therefore the wrong type.
Actual Behavior
No error.
Your Environment
MacOS Sonoma, arm64.
Mypy version used: 1.10.0
Mypy command-line flags: default
Mypy configuration options from mypy.ini (and other config files): default
Activity
AlexWaygood commentedon Jun 4, 2024
Duplicate of #14717