Skip to content

Commit 90ee1b7

Browse files
committed
mypy findings
1 parent 2c8c941 commit 90ee1b7

File tree

2 files changed

+2
-2
lines changed
  • aws_sra_examples/solutions/common
    • common_prerequisites/lambda/src
    • common_register_delegated_administrator/lambda/src

2 files changed

+2
-2
lines changed

aws_sra_examples/solutions/common/common_prerequisites/lambda/src/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ def lambda_handler(event: CloudFormationCustomResourceEvent, context: Context) -
496496
raise ValueError(f"See the details in CloudWatch Log Stream: '{context.log_group_name}'") from None
497497

498498

499-
def terraform_handler(event, context: Context):
499+
def terraform_handler(event: dict, context: Context) -> dict:
500500
"""Lambda Handler.
501501
502502
Args:

aws_sra_examples/solutions/common/common_register_delegated_administrator/lambda/src/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ def lambda_handler(
265265
raise ValueError(f"Unexpected error executing Lambda function. Review CloudWatch logs '{context.log_group_name}' for details.") from None
266266

267267

268-
def terraform_handler(event: Dict[str, Any], context: Context) -> None:
268+
def terraform_handler(event: dict, context: Context) -> None:
269269
"""Lambda Handler.
270270
271271
Args:

0 commit comments

Comments
 (0)