MousaZeidBaker / aws-lambda-typing

Python type hints for AWS Lambda
MIT License
106 stars 19 forks source link

APIGatewayProxyResponseV1 should be `total=False` #85

Closed YonatanGreenfeld closed 1 year ago

YonatanGreenfeld commented 1 year ago

After testing API proxy V1 lambdas, all of the response keys seem optional and have default values (meaning we can add total=False)

Also, it appears that the body can also be bool, float and None and the response will still be valid.