4 ms·
Why use Pydantic instead of dataclasses?
by jstx1 4y ago
Why use Pydantic instead of dataclasses?
- rsfern 4y agoPydantic can do validation. There’s also the related Typer, which builds command line interfaces from the type annotations on your entry point
- BerislavLopac 4y agoYou might also want to look at https://www.attrs.org https://www.attrs.org, which is basically what dataclasses were supposed to be.