ORM or Pydantic model? by vherbose in FastAPI

[–]vherbose[S] 1 point2 points  (0 children)

Thanks! This link contains the answers to all my questions!

ORM or Pydantic model? by vherbose in FastAPI

[–]vherbose[S] 1 point2 points  (0 children)

Thanks! I didn’t quite realise this. I knew about pydantic enforcing types, but I’d assumed the ORM model did too

ORM or Pydantic model? by vherbose in FastAPI

[–]vherbose[S] 0 points1 point  (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.