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
What is the actual behavior/output?
Reported errors:
modelmapper.py:26: error: Key expression in dictionary comprehension has incompatible type "Callable[[], str]"; expected type "str" [misc]
modelmapper.py:33: error: Invalid index type "Callable[[], str]" for "Dict[str, Type[BaseModel]]"; expected type "str" [index]
What is the behavior/output you expect?
No errors.
This is probably related to #8993
Are you reporting a bug, or opening a feature request?
I believe this is a bug
Please insert below the code you are checking with mypy,
Reported errors:
No errors.
If you comment out
and uncomment
then mypy doesn't complain
What are the versions of mypy and Python you are using?
mypy 0.770
python 3.7.6
Do you see the same issue after installing mypy from Git master?
I didn't want to deal with that!
What are the mypy flags you are using? (For example --strict-optional)
None.
The text was updated successfully, but these errors were encountered: