awtkns / fastapi-crudrouter

A dynamic FastAPI router that automatically creates CRUD routes for your models
https://fastapi-crudrouter.awtkns.com
MIT License
1.34k stars 156 forks source link

Update sqlalchemy.py #167

Open owjs3901 opened 1 year ago

owjs3901 commented 1 year ago

Generally, define the sql model as SQLALCHEMY. The models extends Base. Parent of base is Model, but type of child Model is not Model. Therefore I fix type of db_model in SQLAlchemyCRUDRouter.

Finally warnning is shutdown.

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
fastapi-crudrouter ✅ Ready (Inspect) Visit Preview Aug 31, 2022 at 7:58AM (UTC)
awtkns commented 1 year ago

Good catch! Thanks for this!