awtkns / fastapi-crudrouter

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

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

Open anthonypelletier opened 1 year ago

anthonypelletier commented 1 year ago

Fix missing import in get_pk_type :

if int(pydantic_version.split(".")[0]) >= 2:
NameError: name 'pydantic_version' is not defined
vercel[bot] commented 1 year ago

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
awtkns commented 1 year ago

Thanks for this!

paulocoutinhox commented 2 months ago

still not supported?