Django UpdateView / ClassVar usage #838
Closed
last-partizan
started this conversation in
General
Replies: 2 comments 1 reply
-
Thanks for finding this! I believe this is a bug in Pyrefly rather than an intentional decision. |
Beta Was this translation helpful? Give feedback.
1 reply
-
This was fixed in 828499b. The fix just missed the cut-off for 0.28.0, but it'll be in the next release. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Tecnically, this is question about django, but it looks like i can reproduce it without Django.
Are we supposed to mark every member that can be overriden in subclasses as
ClassVar
?Both
mypy
andpyright
treat a case without ClassVar as normal case and do not raise error here.Beta Was this translation helpful? Give feedback.
All reactions