Typing
This typing utility provides static typing classes that can be used to ease the development by providing the IDE type hints.
Key features¶
- Add static typing classes
- Ease the development by leveraging your IDE's type hints
- Avoid common typing mistakes in Python
Getting started¶
Tip
All examples shared in this documentation are available within the project repository.
We provide static typing for any context methods or properties implemented by Lambda context object.
LambdaContext¶
The LambdaContext
typing is typically used in the handler method for the Lambda function.
1 2 3 4 5 6 |
|
Working with context methods and properties¶
Using LambdaContext
typing makes it possible to access information and hints of all properties and methods implemented by Lambda context object.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
|