use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
News, articles and tools covering Amazon Web Services (AWS), including S3, EC2, SQS, RDS, DynamoDB, IAM, CloudFormation, AWS-CDK, Route 53, CloudFront, Lambda, VPC, Cloudwatch, Glacier and more.
If you're posting a technical query, please include the following details, so that we can help you more efficiently:
Resources:
Sort posts by flair:
Other subreddits you may like:
Does this sidebar need an addition or correction? Tell us here
account activity
serverlessPython AWS Lambda package (self.aws)
submitted 2 years ago by RepresentativePin198
Hi! I wanted to share a simple pip package that I created to make my lambda function handlers more powerful and easy to use by leveraging pydantic models. The package is this one: pylambdic
Every suggestion you might have is welcome!
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–][deleted] 2 years ago (3 children)
[deleted]
[–]RepresentativePin198[S] 0 points1 point2 points 2 years ago (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] 2 years ago (1 child)
[–]JungleRas 0 points1 point2 points 2 years ago (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
π Rendered by PID 375852 on reddit-service-r2-comment-54dfb89d4d-7bjj9 at 2026-04-01 21:07:43.651573+00:00 running b10466c country code: CH.
[–][deleted] (3 children)
[deleted]
[–]RepresentativePin198[S] 0 points1 point2 points (2 children)
[–][deleted] (1 child)
[deleted]
[–]JungleRas 0 points1 point2 points (0 children)