validate_arguments
allows overriding positional argument with kwarg
#2249
Labels
bug V1
Bug related to Pydantic V1.X
Checks
Bug
Output of
python -c "import pydantic.utils; print(pydantic.utils.version_info())"
:Currently,
validate_arguments
does not behave the same as a native function when passing in kwargs that override a positional argument.expectation is that
foo(1, x=2)
would raise a ValidationError or TypeErrorThe text was updated successfully, but these errors were encountered: