Skip to content

Commit a7ea3e3

Browse files
Update aws_lambda_powertools/utilities/data_classes/kinesis_stream_event.py
Co-authored-by: Leandro Damascena <[email protected]> Signed-off-by: kiitosu <[email protected]>
1 parent 32fc93b commit a7ea3e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aws_lambda_powertools/utilities/data_classes/kinesis_stream_event.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ def shard_id(self) -> str | None:
140140

141141
@property
142142
def event_source_arn(self) -> str | None:
143-
return self["eventSourceARN"]
143+
return self.get("eventSourceARN")
144144

145145
@property
146146
def is_final_invoke_for_window(self) -> bool:

0 commit comments

Comments
 (0)