We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c997c9b commit 3f07f43Copy full SHA for 3f07f43
aws_lambda_powertools/utilities/data_classes/kinesis_stream_event.py
@@ -3,7 +3,7 @@
3
import base64
4
import json
5
import zlib
6
-from typing import TYPE_CHECKING
+from typing import TYPE_CHECKING, Any
7
8
from aws_lambda_powertools.utilities.data_classes.cloud_watch_logs_event import (
9
CloudWatchLogsDecodedData,
@@ -128,10 +128,9 @@ def records(self) -> Iterator[KinesisStreamRecord]:
128
129
@property
130
def window(self) -> KinesisStreamWindow | None:
131
- window = self.get("window")
132
- if window:
133
- return KinesisStreamWindow(window)
134
-
+ window = self.get("window")
+ if window:
+ return KinesisStreamWindow(window)
135
return window
136
137
0 commit comments