Skip to content

Conversation

owjs3901
Copy link

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
Copy link

vercel bot commented Aug 31, 2022

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
Copy link
Owner

awtkns commented Sep 1, 2022

Good catch! Thanks for this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants