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>