Skip to content

Commit 4a7ceea

Browse files
committed
chore: linting
1 parent 1b242eb commit 4a7ceea

File tree

1 file changed

+2
-1
lines changed
  • aws_lambda_powertools/utilities/batch

1 file changed

+2
-1
lines changed

aws_lambda_powertools/utilities/batch/base.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"""
44
Batch processing utilities
55
"""
6+
import copy
67
import logging
78
import sys
89
from abc import ABC, abstractmethod
@@ -201,7 +202,7 @@ def __init__(self, event_type: EventType, model: Optional["BatchTypeModels"] = N
201202
"""
202203
self.event_type = event_type
203204
self.model = model
204-
self.batch_response = deepcopy(self.DEFAULT_RESPONSE)
205+
self.batch_response = copy.deepcopy(self.DEFAULT_RESPONSE)
205206
self._COLLECTOR_MAPPING = {
206207
EventType.SQS: self._collect_sqs_failures,
207208
EventType.KinesisDataStreams: self._collect_kinesis_failures,

0 commit comments

Comments
 (0)