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
mypy thinks that the type of a variable is Optional[A] when it has been previously determined to not be None when the variable is used in a function definition
Bug Report
mypy thinks that the type of a variable is
Optional[A]
when it has been previously determined to not beNone
when the variable is used in a function definitionTo Reproduce
Expected Behavior
I expect no error.
Actual Behavior
mypy produces this error:
Your Environment
mypy playground
--strict
The text was updated successfully, but these errors were encountered: