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

Fix bugs that are not compatible with pydantic2.x : Fix missing import + refactoring #194

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

anthonypelletier
Copy link

Fix missing import in get_pk_type :

if int(pydantic_version.split(".")[0]) >= 2:
NameError: name 'pydantic_version' is not defined

@vercel
Copy link

vercel bot commented Oct 6, 2023

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

Name Status Preview Comments Updated (UTC)
fastapi-crudrouter ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 6, 2023 1:48am

@anthonypelletier anthonypelletier changed the title Fix missing import + refactoring Fix bugs that are not compatible with pydantic2.x : Fix missing import + refactoring Oct 6, 2023
@awtkns
Copy link
Owner

awtkns commented Oct 31, 2023

Thanks for this!

@paulocoutinhox
Copy link

still not supported?

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.

4 participants