Skip to content

Commit 9483bd3

Browse files
refactor(event_handler): add type annotations for resolve function (#5602)
chore(resolver): add type annotations for resolve Co-authored-by: Leandro Damascena <[email protected]>
1 parent 6ccc140 commit 9483bd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aws_lambda_powertools/event_handler/api_gateway.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1999,7 +1999,7 @@ def register_resolver(func: Callable):
19991999

20002000
return register_resolver
20012001

2002-
def resolve(self, event, context) -> dict[str, Any]:
2002+
def resolve(self, event: dict[str, Any], context: LambdaContext) -> dict[str, Any]:
20032003
"""Resolves the response based on the provide event and decorator routes
20042004
20052005
## Internals

0 commit comments

Comments
 (0)