mirror of
https://github.com/kennethreitz/pydantic.git
synced 2026-06-05 23:00:18 +00:00
806eba3810
* Merge init_kwargs with env variables recursively to handle nested values This commit implements `deep_update` function that works as standard `update` method on dicts, but also recursively updates all the nested dict values. It allows splitting init arguments between environment variables and in-code values, as long as they create a valid object when merged together. * Add entry to changes directory * Fix CI/CD checks * Make deep_copy not mutating, improve tests and type annotations
Pending Changes
This directory contains files describing changes to pydantic since the last release.
If you're creating a pull request, please add a new file to this directory called
<pull request or issue id>-<github username>.md. It should be formatted as a single paragraph of markdown
The contents of this file will be used to update HISTORY.md before the next release.