From bfbee603f0fab6d9b07f05d350a540bb600e96df Mon Sep 17 00:00:00 2001 From: RogerZhang Date: Thu, 7 Sep 2023 19:08:41 +0000 Subject: [PATCH] data class default optimization --- .../utilities/data_classes/kinesis_firehose_event.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/aws_lambda_powertools/utilities/data_classes/kinesis_firehose_event.py b/aws_lambda_powertools/utilities/data_classes/kinesis_firehose_event.py index 1b472494a6..0251ee59dd 100644 --- a/aws_lambda_powertools/utilities/data_classes/kinesis_firehose_event.py +++ b/aws_lambda_powertools/utilities/data_classes/kinesis_firehose_event.py @@ -8,7 +8,7 @@ from aws_lambda_powertools.utilities.data_classes.common import DictWrapper -@dataclass +@dataclass(repr=False, order=False, slots=True, frozen=True) class KinesisFirehoseDataTransformationRecordMetadata: """ Documentation: @@ -24,7 +24,7 @@ def asdict(self) -> Dict: return {} -@dataclass +@dataclass(repr=False, order=False, slots=True) class KinesisFirehoseDataTransformationRecord: """Record in Kinesis Data Firehose response object @@ -93,7 +93,7 @@ def data_as_json(self) -> Dict: return self._json_data -@dataclass +@dataclass(repr=False, order=False, slots=True) class KinesisFirehoseDataTransformationResponse: """Kinesis Data Firehose response object