Skip to content

Commit c5bed3d

Browse files
committed
chore(resolver): add type annotations for resolve
1 parent 9768b51 commit c5bed3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aws_lambda_powertools/event_handler/api_gateway.py

Lines changed: 1 addition & 1 deletion
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)