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
Fields with descriptors as default values should be treated differently, as they do for the "vanilla" dataclasses
Fields with descriptors assigned as field(default=CoolDescriptor(), ...) should not use the descriptor value as the default __init__ argument, instead that argument should be missing.
Description
field(default=CoolDescriptor(), ...)should not use the descriptor value as the default__init__argument, instead that argument should be missing.Possible solution
No response
Alternatives
n/a
Context
No response