Update pydantic to V2 (#1202)

* Update pydantic, fix errors and warnings (all?)

* Fixed typehints

* Reformat code, removed unused imports

* Fixed typing extensions version compatibility

* Fixed coverage

* Describe changes

* Regen code
This commit is contained in:
Alex Root Junior 2023-07-02 15:07:19 +03:00 committed by GitHub
parent 066d16b522
commit 461e59bbdd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
182 changed files with 385 additions and 485 deletions

6
CHANGES/1202.misc.rst Normal file
View file

@ -0,0 +1,6 @@
Updated `Pydantic to V2 <https://docs.pydantic.dev/2.0/migration/>`_
.. warning::
Be careful, not all libraries is already updated to using V2
(for example at the time, when this warning was added FastAPI still not support V2)