Re:Just Use Dictionaries (Python)
by david-j-vujic on Sunday September 03, 2023 @01:27PM
(#37372196)
Sounds like a good balance between the approaches!
I usually would prefer having everything behind the endpoint (such as Pydantic schemas & FastAPI) as simple dicts and lists.
It came naturally, not out of some design, but I guess having better and better typing support everywhere makes it more and more convenient.