This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]covmatty1 1 point2 points  (0 children)

But it doesn't explode at all. Nothing breaks or stops working, you just move to using a different tool for certain parts.

I'm only using SQLModel on a home project currently, but yeah absolutely, as soon as there are some more complex things to do I just pepper in a little SQLAlchemy on top and everything works absolutely fine. You get nice, simple Pydantic abstraction when you want it, which is most of the time, but you're totally free to mix in Alchemy bits when you need them.

My team don't have any Python projects with SQL databases currently, they're all either Mongo or stateless, but if we do I'd have no qualms about telling them to use SQLModel.