6 ms·
There's good discussion in this thread about when and why to use attrs, pydantic, or stdlib dataclasses; I have my own thoughts too. But all I can really feel
by amirkdv 5y ago
There's good discussion in this thread about when and why to use attrs, pydantic, or stdlib dataclasses; I have my own thoughts too.
But all I can really feel is gratitude for all of us not having to do namedtuple/slot contortions anymore. Good riddance.