Skip to content

Commit 08b91d3

Browse files
author
Michael Brewer
committed
Merge branch 'develop' into feat-roadmap-35
2 parents ec4abac + 5447dc4 commit 08b91d3

File tree

14 files changed

+2186
-194
lines changed

14 files changed

+2186
-194
lines changed

.pre-commit-config.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,6 @@ repos:
1111
- id: trailing-whitespace
1212
- id: end-of-file-fixer
1313
- id: check-toml
14-
- repo: https://github.com/pre-commit/pygrep-hooks
15-
rev: v1.5.1
16-
hooks:
17-
- id: python-use-type-annotations
1814
- repo: local
1915
hooks:
2016
- id: black

aws_lambda_powertools/logging/logger.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ def handler(event, context):
328328
)
329329

330330
@functools.wraps(lambda_handler)
331-
def decorate(event, context):
331+
def decorate(event, context, **kwargs):
332332
lambda_context = build_lambda_context_model(context)
333333
cold_start = _is_cold_start()
334334

aws_lambda_powertools/utilities/batch/__init__.py

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,25 @@
44
Batch processing utility
55
"""
66

7-
from .base import BasePartialProcessor, batch_processor
8-
from .sqs import PartialSQSProcessor, sqs_batch_processor
7+
from aws_lambda_powertools.utilities.batch.base import (
8+
BasePartialProcessor,
9+
BatchProcessor,
10+
EventType,
11+
FailureResponse,
12+
SuccessResponse,
13+
batch_processor,
14+
)
15+
from aws_lambda_powertools.utilities.batch.exceptions import ExceptionInfo
16+
from aws_lambda_powertools.utilities.batch.sqs import PartialSQSProcessor, sqs_batch_processor
917

10-
__all__ = ("BasePartialProcessor", "PartialSQSProcessor", "batch_processor", "sqs_batch_processor")
18+
__all__ = (
19+
"BatchProcessor",
20+
"BasePartialProcessor",
21+
"ExceptionInfo",
22+
"EventType",
23+
"FailureResponse",
24+
"PartialSQSProcessor",
25+
"SuccessResponse",
26+
"batch_processor",
27+
"sqs_batch_processor",
28+
)

0 commit comments

Comments
 (0)