top | item 44583667

(no title)

_Wintermute | 7 months ago

Dataclasses have the one massive benefit of not being an additional dependency.

discuss

order

ddejohn|7 months ago

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.