-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Copy on model validation #62
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I had a copy_on_model_validation flag set to "none" on my pydantic models and could not find any documentation on the migration page on how to deal with this setting in v2. Seems from v1 discussions on issues raised on github that this is now irrelevant since Pydantic will never copy anymore when validating models, also considered by @PrettyWood to be incorrect behaviour.
Could save other people quite some time if this would make it to the pydantic migration docs and/or flagged by bump-pydantic as a superfluous setting now
In the ConfigDict this setting should not even be included anymore, it won't work either I presume.
The text was updated successfully, but these errors were encountered: