Skip to content

Commit b97d969

Browse files
committed
docs(parser): fix incorrect import in root_validator example (aws-powertools#735)
1 parent d019803 commit b97d969

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/utilities/parser.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ Alternatively, you can pass `'*'` as an argument for the decorator so that you c
448448
=== "validate_all_field_values.py"
449449

450450
```python
451-
from aws_lambda_powertools.utilities.parser import parse, BaseModel, validator
451+
from aws_lambda_powertools.utilities.parser import parse, BaseModel, root_validator
452452

453453
class UserModel(BaseModel):
454454
username: str

0 commit comments

Comments
 (0)