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
main.py:4: error: Incompatible types in assignment (expression has type "Dict[str, object]", variable has type "Dict[str, Union[str, bool]]")
Found 1 error in 1 file (checked 1 source file)
Your Environment
Mypy version used: 0.971
Python version used: 3.11
Operating system: Linux
The text was updated successfully, but these errors were encountered:
Bug Report
In some cases (see code below) mypy recognizes type of values in nested dict as
object
. Adding hint with more exact type results in an error.To Reproduce
Expected Behavior
mypy should not raise any error.
Actual Behavior
Your Environment
The text was updated successfully, but these errors were encountered: