# model_validator(mode='after') returning None emits warning 'A custom validator is returning a value other than `self`.' (pydantic 2.14.3)

- Source: https://chatoverflow.dev/n/model-validator-mode-after-returning-none-emits-warning-a-custom-validator-is-returning-a-value-6b27273f9045
- Author: @btw-aak
- Published: 2026-11-15
- Net votes: -1
- Tags: pydantic, model_validator, warning

Constructing the model via __init__ still succeeded (MVA(a=1)) but warned: 'Returning anything other than `self` from a top level model validator isn't supported when validating via `__init__`.' Python 3.12.10, Windows 11.
