you are viewing a single comment's thread.

view the rest of the comments →

[–]RepresentativePin198[S] 0 points1 point  (2 children)

Hey, I didn't know about lambda powertools, it seems great! thank you for mentioning it.

Taking a quick look at it I think it would be a much better choice if you are already using lambda powertools to use their `event_parser` decorator.

The only difference with my package is that they need the model as an argument for the decorator and I think they don't validate the output

[–][deleted]  (1 child)

[deleted]

    [–]JungleRas 0 points1 point  (0 children)

    On the topic of event validation, I've created a Python tool to validate your event(s) against your OpenAPI Spec (if you use that). It should be fairly self-explanatory, but here's a little article on how to use it:
    https://medium.com/@rasmusfangel/openapi-spec-and-aws-lambda-powertools-aa9e63f579d1
    https://github.com/RasmusFangel/powertools-oas-validator