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
Yes, you could remove the type annotation. Another option is to add an assert within the inner scope (assert var is not None) to document your assumption for the type checker.
Bug Report
Despite assigning a correct type, Mypy complains about finding an attribute when using
--strict
flag.To Reproduce
Expected Behavior
Is to see "No Issue".
Actual Behavior
Your Environment
1.2.0
--strict
3.10.6
,3.11
,3.12
The text was updated successfully, but these errors were encountered: