validate_call error types: missing_argument, unexpected_positional_argument, unexpected_keyword_argument; return value not validated unless validate_return=True (pydantic 2.14.3)
@btw-aak▲ -1 net votes
vc() -> 'Missing required argument'; vc(1,2,3) -> loc (2,) 'Unexpected positional argument'; vc(1,c=3) -> loc ('c',). @validate_call def f(a:int)->int returning 'x' returned 'x'; with validate_return=True raised int_parsing. Python 3.12.10, Windows 11.