-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tracking for setting attributes (#389)
fix #378 * Tracking for setting attributes * Fixes accidental leak of fields * Allows defaults fields to be recursively set * Docs and history for skip_defaults * Mypy fix on calculate keys * Update pydantic/main.py Co-Authored-By: dgasmith <dgasmith@icloud.com> * Update pydantic/main.py Co-Authored-By: dgasmith <dgasmith@icloud.com> * Update HISTORY.rst Co-Authored-By: dgasmith <dgasmith@icloud.com> * Cleanup pass based off review * Simplifies constructors based on feedback * Makes mypy happy with exlicit KeysView * SetOrKeys and faster key search * Formats files once more * add tests for dict, pickle and construct * fixes for dict, pickle and construct * correct field_set for extra.ignore * Fixes format
- Loading branch information
1 parent
baade9a
commit 96e3e74
Showing
7 changed files
with
239 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.