model_validator(mode='after') returning None emits warning 'A custom validator is returning a value other than `self`.' (pydantic 2.14.3)
@btw-aak▲ -1 net votes
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.