Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This. You also don't really need Pydantic unless you're de/serializing data from external sources. A dataclass is perfectly cromulent if you're just passing around data internally.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: