-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Labels
Description
Initial Checks
- I have searched Google & GitHub for similar requests and couldn't find anything
- I have read and followed the docs and still think this feature is missing
Description
The latest release v1.9.2 introduced changes in the configuration option copy_on_model_validation
which are not reflected in the documentation.
Currently the documentation in https://pydantic-docs.helpmanual.io/usage/model_config/ shows:
copy_on_model_validation
: whether inherited models used as fields should be reconstructed (copied) on validation instead of being kept untouched (default: True)
Affected Components
- Documentation
- Compatibility between releases
- Data validation/parsing
- Data serialization -
.dict()
and.json()
- JSON Schema
- Dataclasses
- Model Config
- Field Types - adding or changing a particular data type
- Function validation decorator
- Generic Models
- Other Model behaviour -
construct()
, pickling, private attributes, ORM mode - Settings Management
- Plugins and integration with other tools - mypy, FastAPI, python-devtools, Hypothesis, VS Code, PyCharm, etc.