FastAPI-JSONAPI
FastAPI-JSONAPI copied to clipboard
Pydantic V2 full support + massive refactoring
TODO:
- HTTPMethod переименовать и / или унифицировать
- обновить примеры
- обновить линтеры: ruff, black
- избавиться от poetry, оставить только Hatch
- mypy
- orjson instead of simplejson
- hatch env test (copy from ri-sdk)
- older python versions support
wouldn't it be better to split the changes to make the changes merge more easily then changing everything at once?
Hi @auvipy Thank you for your patience. It's already so big it'll take too much time to split. I need a couple of free weekends to finish this up: update build config, update linters consigs, update docs, and that's it. The code is already passing all the tests locally, so if you want to, you can check it by installing from the latest commit.
Oh thats great
Since these changes were included as part of the major changes in https://github.com/mts-ai/FastAPI-JSONAPI/pull/97, this PR is closed. The update was applied not only to the Pydantic library but also included version upgrades for SQLAlchemy and FastAPI. Performance has more than doubled; for example, with 50 users, the average response time decreased from 302 ms to 138 ms. Thank you.