You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, trying to launch the project through uvicorn app.main:app --host localhost --port 8000 --reload I receive TypeError: @validator(..., each_item=True) cannot be applied to fields with a schema of json-or-python.
I tried both writing it from scratch and cloning the repo.
Not sure how to debug this, am I the only one who receives this error? The pydantic version is 2.0.3.
Thanks!
The text was updated successfully, but these errors were encountered:
Hi, trying to launch the project through
uvicorn app.main:app --host localhost --port 8000 --reload
I receiveTypeError:
@validator(..., each_item=True)cannot be applied to fields with a schema of json-or-python
.I tried both writing it from scratch and cloning the repo.
Not sure how to debug this, am I the only one who receives this error? The pydantic version is 2.0.3.
Thanks!
The text was updated successfully, but these errors were encountered: