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

Python dataclasses are a good start for internal use. They are just a bit of a pain to serialize/deserialize natively. When it comes to that, I prefer to use Pydantic objects and have all the goodies, at the cost of some complexity.


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

Search: