Skip to content

Utilities -> Parser -> Validating Entire Model -> Typo in "Example" #729

Description

What were you initially searching for in the docs?
I was trying to understand how to implement the input model parser with validations.

Is this related to an existing part of the documentation? Please share a link
https://awslabs.github.io/aws-lambda-powertools-python/latest/utilities/parser/#validating-entire-model

Describe how we could make it clearer
The example provided uses the @root_validator decorator, but the import statement is only importing validator (which is unused).

If you have a proposed update, please share it here
In the import statement, please replace validator with root_validator.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions