MCPcopy
hub / github.com/pydantic/pydantic / field_validator

Function field_validator

pydantic/functional_validators.py:378–385  ·  view source on GitHub ↗
(
    field: str,
    /,
    *fields: str,
    mode: Literal['wrap'],
    check_fields: bool | None = ...,
    json_schema_input_type: Any = ...,
)

Source from the content-addressed store, hash-verified

376
377@overload
378def field_validator(
379 field: str,
380 /,
381 *fields: str,
382 mode: Literal['wrap'],
383 check_fields: bool | None = ...,
384 json_schema_input_type: Any = ...,
385) -> Callable[[_V2WrapValidatorType], _V2WrapValidatorType]: ...
386
387
388@overload

Calls 1

PydanticUserErrorClass · 0.85

Tested by

no test coverage detected