Skip to content

Commit c60badd

Browse files
committed
docs: improve the doc for the customer from v2 library.
1 parent b84a9b2 commit c60badd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/utilities/parser.md

+2
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,8 @@ If you run using a test event `{"message": "hello universe"}` you should expect
259259

260260
`model_validator` can help when you have a complex validation mechanism. For example finding whether data has been omitted or comparing field values.
261261

262+
???+ tip For users of `root_validator` (deprecated as of version 3.0.0), it is recommended to use `model_validator` instead.
263+
262264
```python title="model_validator.py" hl_lines="1 12-17"
263265
--8<-- "examples/parser/src/model_validator.py"
264266
```

0 commit comments

Comments
 (0)