Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: let `model_validator` return `self` UserWarning: A custom validator is returning a value other than `self`. Returning anything other than `self` from a top level model validator isn't supported when validating via `__init__`. See the `model_validator` docs (https://docs.pydantic.dev/latest/concepts/validators/#model-validators) for more details. * fix mypy --------- Co-authored-by: Konstantin <konstantin.klein+github@hochfrequenz.de>
- Loading branch information