Skip to content

Commit 95809ff

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 523435c commit 95809ff

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
@@ -127,7 +127,7 @@ def records(self) -> Iterator[KinesisStreamRecord]:
127127
yield KinesisStreamRecord(record)
128128

129129
@property
130-
def window(self) -> KinesisStreamWindow:
130+
def window(self) -> KinesisStreamWindow | None:
131131
return KinesisStreamWindow(self["window"])
132132

133133
@property

0 commit comments

Comments
 (0)