Hacker News new | ask | show | jobs
by afiodorov 330 days ago
My rule of the thumb is that Dataclasses are for compile-time type-checking, pydantic classes are for run time type checking.