FastAPI-JSONAPI icon indicating copy to clipboard operation
FastAPI-JSONAPI copied to clipboard

Pydantic V2 full support + massive refactoring

Open mahenzon opened this issue 1 year ago • 2 comments

TODO:

  • HTTPMethod переименовать и / или унифицировать
  • обновить примеры
  • обновить линтеры: ruff, black
  • избавиться от poetry, оставить только Hatch
  • mypy
  • orjson instead of simplejson
  • hatch env test (copy from ri-sdk)
  • older python versions support

mahenzon avatar Jun 09 '24 14:06 mahenzon

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.

mahenzon avatar Aug 19 '24 22:08 mahenzon

Oh thats great

auvipy avatar Aug 20 '24 02:08 auvipy

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.

m-antonov avatar Mar 13 '25 09:03 m-antonov