mirror of
https://github.com/kennethreitz/pydantic.git
synced 2026-06-05 23:00:18 +00:00
2a87f7954a
* fix(decorator): align kwargs behaviour with native python Previously, validate_arguments would strip the value if the keyword was the same as the target kwargs argument. Align with Python's behaviour. * fix: also prevent overwriting variable args Introduces tests for both, which compare against the native python implementation Co-authored-by: Eric Jolibois <em.jolibois@gmail.com> * mention about 'args' in the changelog too * simplify var_kwargs pop Co-authored-by: Eric Jolibois <em.jolibois@gmail.com> Co-authored-by: Eric Jolibois <em.jolibois@gmail.com>
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.