We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b84a9b2 commit 6baeec4Copy full SHA for 6baeec4
docs/utilities/parser.md
@@ -259,6 +259,8 @@ If you run using a test event `{"message": "hello universe"}` you should expect
259
260
`model_validator` can help when you have a complex validation mechanism. For example finding whether data has been omitted or comparing field values.
261
262
+!!! tip "If you are still using the deprecated `root_validator` function, switch to `model_validator` for the latest Pydantic functionality."
263
+
264
```python title="model_validator.py" hl_lines="1 12-17"
265
--8<-- "examples/parser/src/model_validator.py"
266
```
0 commit comments