powertools-lambda-python
powertools-lambda-python copied to clipboard
A developer toolkit to implement Serverless best practices and increase developer velocity.
### Summary We should refactor documentation snippets to improve the value new and existing customers get from them. Code snippets should be run as-is and provide what's necessary to demonstrate...
### Use case 1. I want to store global variables so they can be fetched in multiple areas in my areas without having to explicitly passing them around into the...
### Use case > Originally stated by @jplock When using [code signing feature](https://docs.aws.amazon.com/lambda/latest/dg/configuration-codesigning.html), any Lambda Layer must be also signed. This means customers using this feature can't use our public...
### Use case Our documentation contains many examples of how to use our utilities, but some customers prefer to run the code at the first moment. However, they may encounter...
### Use case #### Discussed in https://github.com/awslabs/aws-lambda-powertools-python/discussions/2170 Originally posted by **adithep** April 27, 2023 For HTTP resolver, there are few ways to handle exception: https://awslabs.github.io/aws-lambda-powertools-python/2.14.1/core/event_handler/api_gateway/#exception-handling But for `AppSyncResolver`, I have...
### Summary After regression #1968 due to the lack of tests, and the turnaround to create appropriate tests to confirm it, ascertain that it is time to get rid of...
## Key information * RFC PR: * Related issue(s), if known: * Area: Logger * Meet [tenets](https://awslabs.github.io/aws-lambda-powertools-python/#tenets): Yes * Approved by: * Reviewed by: ## Summary [summary]: #summary Provide the...
### Use case Sometimes you want to trace a `@classmethod`. In my case I have an ORM-like (https://en.wikipedia.org/wiki/Object%E2%80%93relational_mapping) library that provides some `get`, `put`, `query`, etc. class methods in a...
### Use case I am attempting to write a unit test for a piece of functionality that isn't in the top of the lambda function call stack, but _is_ emitting...