xnuinside / omymodels

O!My Models (omymodels) is a library to generate Pydantic, Dataclasses, GinoORM Models, SqlAlchemy ORM, SqlAlchemy Core Table, Models from SQL DDL. And convert one models to another.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add support for SQLModel output

cfhowes opened this issue · comments

Is your feature request related to a problem? Please describe.
I would like to use SQLModel https://sqlmodel.tiangolo.com/ files with FastAPI https://fastapi.tiangolo.com/. I could use the sqlalchemy adaptor, but then I also would need to make pydantic models.

Additional context
I have started the work here: https://github.com/cfhowes/omymodels/tree/sqlmodel_support Comments welcome, will submit a PR once I have some more verifications in place.

Thanks! PR merged to Main, marking this closed.