Glossary: Building APIs with FastAPI
extra="forbid"
Also written: ConfigDict, model_config
A Pydantic model setting that rejects unknown fields instead of silently ignoring them. It catches typos such as `"prise"`.
Glossary: Building APIs with FastAPI
Also written: ConfigDict, model_config
A Pydantic model setting that rejects unknown fields instead of silently ignoring them. It catches typos such as `"prise"`.