Hacker News new | ask | show | jobs
by onei 2462 days ago
If you want to convert it to an object, have you tried using dataclasses? I haven't used them much, but last time I tried them they felt much easier than trying to use the native dict/list/str/int/etc. that gets returned by default.
1 comments

Yeah. It's the custom serialisation & schema/ctor arg validation that makes it clunky.