Skip to content

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

Closed

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

  1. ghost added
    documentation
    on Oct 4, 2021
  2. added
    pending-release
    on Oct 5, 2021
  3. heitorlessa commented on Oct 5, 2021

    @heitorlessa
    Contributor

    Thanks a lot @nsandar for flagging this - I've just merged and it's available in the staging docs --- it'll be available in the latest today as part of the next release

    https://awslabs.github.io/aws-lambda-powertools-python/develop/utilities/parser/#validating-entire-model

  4. removed
    pending-release
    on Oct 5, 2021
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

    documentation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions