Skip to content

Commit ac03550

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 066cb2f commit ac03550

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
@@ -148,7 +148,7 @@ def is_final_invoke_for_window(self) -> bool | None:
148148

149149
@property
150150
def is_window_terminated_early(self) -> bool | None:
151-
return self["isWindowTerminatedEarly"]
151+
return self.get("isWindowTerminatedEarly")
152152

153153

154154
def extract_cloudwatch_logs_from_event(event: KinesisStreamEvent) -> list[CloudWatchLogsDecodedData]:

0 commit comments

Comments
 (0)