Skip to content
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

fix: models copied via Config.copy_on_model_validation always have all fields #3201

Merged
merged 1 commit into from Dec 19, 2021

Commits on Sep 11, 2021

  1. fix: models copied via Config.copy_on_model_validation always have …

    …all fields
    
    Small regression in pydantic#2231.
    The shallow copy done with `Config.copy_on_model_validation = True` (default behaviour)
    was using excluded / included fields when it should just copy everything
    
    closes pydantic#3195
    PrettyWood committed Sep 11, 2021
    Configuration menu
    Copy the full SHA
    fa9611b View commit details
    Browse the repository at this point in the history