Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update sqlalchemy.py #167

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update sqlalchemy.py #167

wants to merge 1 commit into from

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.

None yet

2 participants