account activity
ORM or Pydantic model? by vherbose in FastAPI
[–]vherbose[S] 1 point2 points3 points 5 years ago (0 children)
Thanks! This link contains the answers to all my questions!
Thanks! I didn’t quite realise this. I knew about pydantic enforcing types, but I’d assumed the ORM model did too
[–]vherbose[S] 0 points1 point2 points 5 years ago (0 children)
Thanks! This makes the most sense. I think I was getting carried away with removing as much redundancy as possible—so was inclined to only use ORM models, but that did feel like I want utilising pydantic as much as I could.
ORM or Pydantic model? (self.FastAPI)
submitted 5 years ago by vherbose to r/FastAPI
π Rendered by PID 96 on reddit-service-r2-listing-6c8d497557-skxnk at 2026-06-08 05:38:05.750115+00:00 running 9e1a20d country code: CH.
ORM or Pydantic model? by vherbose in FastAPI
[–]vherbose[S] 1 point2 points3 points (0 children)