Skip to content

Commit

Permalink
docs(parser): fix incorrect import in root_validator example (#735)
Browse files Browse the repository at this point in the history
  • Loading branch information
heitorlessa committed Oct 5, 2021
1 parent d019803 commit b97d969
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/utilities/parser.md
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ Alternatively, you can pass `'*'` as an argument for the decorator so that you c
=== "validate_all_field_values.py"

```python
from aws_lambda_powertools.utilities.parser import parse, BaseModel, validator
from aws_lambda_powertools.utilities.parser import parse, BaseModel, root_validator

class UserModel(BaseModel):
username: str
Expand Down

0 comments on commit b97d969

Please sign in to comment.