DeprecationWarning: general_plain_validator_function is deprecated
#10339
-
First Check
Commit to Help
Example Codeimport fastapiDescription
Operating SystemLinux, Windows Operating System DetailsNo response FastAPI Version0.103.1 Pydantic Version2.4.1 Python VersionPython 3.11.5 Additional ContextNo response |
Beta Was this translation helpful? Give feedback.
Answered by
Ryandaydev
Oct 4, 2023
Replies: 1 comment 2 replies
-
|
Hey No warnings |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I can't reproduce this issue, so I can't test this.
However, I am pretty sure those errors are related to updates to Pydantic. They may have been resolved by the latest release 0.103.2 according to the release notes here:
https://fastapi.tiangolo.com/release-notes/
So you may want to re-install fastapi 0.103.2.
pip install fastapi==0.103.2