lambda-decorators icon indicating copy to clipboard operation
lambda-decorators copied to clipboard

🐍λ✨ - A collection of useful decorators for making AWS Lambda handlers

Results 18 lambda-decorators issues
Sort by recently updated
recently updated
newest added

Hi is there a way to define a decorator with paramaters like the CORS one. Many thanks for help and thoughts, not sure if i am just not understanding the...

Enable usage like this, list of domains & support wildcards in strings: ``` >>> @cors_headers(origin=['https://example.com', 'https://*.example.com']) ... def hello_custom_origin(example, context): ... return {'body': 'foobar'} >>> hello_custom_origin({'headers': {'Host': 'https://foobar.example.com'}}, object()) {'body':...

It doesn't cost anything and would enable a wider range of use cases. For example: 1. To determine whether the response body may be gzip-encoded in an `after` callback, the...

I'm trying to use the json_http_resp and json_schema_validator decorators on a lambda function running on Python 3.6 (and version 0.3.0 of lambda-decorators). It works great locally and in my docker...

question

This PR adds one function that deserializes queryStringParameters from an event. Based on `load_json_body` it aims to provide similar support for those lambdas that are being used to catch incoming...

- Fix LambdaDecorator example documentation

Bumps [certifi](https://github.com/certifi/python-certifi) from 2019.6.16 to 2022.12.7. Commits 9e9e840 2022.12.07 b81bdb2 2022.09.24 939a28f 2022.09.14 aca828a 2022.06.15.2 de0eae1 Only use importlib.resources's new files() / Traversable API on Python ≥3.11 ... b8eb5e9 2022.06.15.1...

dependencies

Hey, Was testing your decorator function and first of all wanted to say it's been super useful. I was wondering however if I was interpreting this correctly from the lambda...