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 30757b4 commit 2eb4c90Copy full SHA for 2eb4c90
1 file changed
sdks/python/apache_beam/runners/portability/fn_api_runner/fn_runner_test.py
@@ -74,7 +74,6 @@
74
from apache_beam.transforms import userstate
75
from apache_beam.transforms import window
76
from apache_beam.transforms.periodicsequence import PeriodicImpulse
77
-from apache_beam.transforms.periodicsequence import PeriodicStream
78
from apache_beam.utils import timestamp
79
from apache_beam.utils import windowed_value
80
@@ -1264,7 +1263,7 @@ def test_sliding_windows(self):
1264
1263
with self.create_pipeline() as p:
1265
ret = (
1266
p
1267
- | PeriodicStream(data, interval=1)
+ | PeriodicImpulse(data=data, fire_interval=1)
1268
| beam.WithKeys(0)
1269
| beam.WindowInto(beam.transforms.window.SlidingWindows(6, 3))
1270
| beam.GroupByKey())
0 commit comments