-
-
Notifications
You must be signed in to change notification settings - Fork 454
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
Mypy crash on querysets #1155
Comments
3.71 isn't a real Mypy version, did you mean 0.971 maybe? |
yes sry: |
And another crash:
|
same thing happened for me. mypy output:
the part of my code that mypy crashes on (
I don't use any custom manager for
My
versions:
monkey patching is enabled too. |
Same error as #701 . I tried upgrading to master and i can still replicate it. |
Bug report
Mypy crashes
What's wrong
class SomeEvent(models.Model):
And then in code:
It crashes with:
How is that should be
It should not crash
System information
python
version: 3.8.13django
version: 2.2.xmypy
version: 0.971django-stubs
version: 1.12.0django-stubs-ext
version: 0.5.0The text was updated successfully, but these errors were encountered: