MousaZeidBaker / aws-lambda-typing

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

IAM policy document misuses `Optional` for required fields #66

Closed YonatanGreenfeld closed 2 years ago

YonatanGreenfeld commented 2 years ago

As stated in PEP-589 - partial totality can be achieved with inheritance. Using Optional means that a field can have None as a value, which is not the case in most AWS types.