diff --git a/aws_lambda_powertools/utilities/batch/decorators.py b/aws_lambda_powertools/utilities/batch/decorators.py index 320535141fc..e818f7783a0 100644 --- a/aws_lambda_powertools/utilities/batch/decorators.py +++ b/aws_lambda_powertools/utilities/batch/decorators.py @@ -158,7 +158,7 @@ def batch_processor( def process_partial_response( - event: dict, + event: dict[str, Any], record_handler: Callable, processor: BasePartialBatchProcessor, context: LambdaContext | None = None, @@ -227,7 +227,7 @@ def handler(event, context): def async_process_partial_response( - event: dict, + event: dict[str, Any], record_handler: Callable, processor: AsyncBatchProcessor, context: LambdaContext | None = None,