3 ms·
TypedDicts are so underutilized in general. I'm using them a lot even for simpler scripts
by mvieira38 1y ago
TypedDicts are so underutilized in general. I'm using them a lot even for simpler scripts
- maleldil 1y agoI don't see a point in using them in new code when I could just use a dataclass (or Pydantic in certain contexts). I've only found them useful when interfacing with older code that uses dicts for structured data.