4 ms·
Pydantic can do validation. There’s also the related Typer, which builds command line interfaces from the type annotations on your entry point
by rsfern 4y ago
Pydantic 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.