4 ms·
Dataclass child can't inherit from a parent that has a default value set. How is this not a dealbreaker for most? That's literally the only reason I keep using
by tomwojcik 6y ago
Dataclass child can't inherit from a parent that has a default value set. How is this not a dealbreaker for most? That's literally the only reason I keep using pydantic instead of dataclasses.
- Recursing 6y agoI agree it's a deal breaker, it's also the reason we have to use a custom solution :( If you can add the dependency I would recommend using attrs, it's so much better than the stdlib dataclasses :(