awtkns / fastapi-crudrouter

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

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

Open anthonypelletier opened 12 months ago

anthonypelletier commented 12 months 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 12 months 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 11 months ago

Thanks for this!

paulocoutinhox commented 3 weeks ago

still not supported?