6 ms·
I think SQLModel actually exists precisely so that you don't have to do that. According to [1]: > That class Hero is a SQLModel model... But at the same time,
by fantod 5y ago
I think SQLModel actually exists precisely so that you don't have to do that. According to [1]:
> That class Hero is a SQLModel model... But at the same time, it is a SQLAlchemy model... And at the same time, it is also a Pydantic model
[1] https://sqlmodel.tiangolo.com/#sqlalchemy-and-pydantic https://sqlmodel.tiangolo.com/#sqlalchemy-and-pydantic
- shroompasta 5y agoAh, I must've missed something in the first lookaround. looks good.