-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
"object" has no attribute "__iter__" false-positive #8706
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This is frustrating but I don't think it's a bug. We infer the type |
Is the correct fix to use |
The recommended fix is to add an annotation for |
5 tasks
20 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
'key2': [1, 2],
mypy-0.770+dev.833fc2caec6773683d691a72058293ae87139210
too)Potentially related: #4975
The text was updated successfully, but these errors were encountered: