-
-
Notifications
You must be signed in to change notification settings - Fork 41
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
bug: property and cached_property of dataclasses are class parameters #232
Comments
pawamoy
added a commit
that referenced
this issue
Feb 8, 2024
Thanks for the high-quality report. Fixed in v0.40.1 🙂 |
pawamoy
pushed a commit
that referenced
this issue
Mar 11, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description of the bug
A
@property
or@cached_property
of dataclass is taken to be a class parameterTo Reproduce
sample.py
Demo code
Output
Expected behavior
The parameters in all four cases should be
(x, y)
.The text was updated successfully, but these errors were encountered: