Replies: 3 comments 1 reply
-
|
I confirm this happens on: |
Beta Was this translation helpful? Give feedback.
-
|
This is relevant: pydantic/pydantic#7461 FastAPI is probably calling either the |
Beta Was this translation helpful? Give feedback.
-
|
This config flag is for printing only and not respected by In comments there has been expressed the idea of using this config value as a default value for |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
First Check
Commit to Help
Example Code
Description
Pydantic "hide_input_in_errors" does not hide "input" field when request validation fails on model. Expected behaviour: there is no
inputfield in response.Operating System
Linux
Operating System Details
No response
FastAPI Version
0.101.0
Pydantic Version
2.1.1
Python Version
3.10.12
Additional Context
No response
Beta Was this translation helpful? Give feedback.
All reactions