Skip to content

Commit 2eb4c90

Browse files
committed
Fix fn_runner_test that used PeriodicStream.
1 parent 30757b4 commit 2eb4c90

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

sdks/python/apache_beam/runners/portability/fn_api_runner/fn_runner_test.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@
7474
from apache_beam.transforms import userstate
7575
from apache_beam.transforms import window
7676
from apache_beam.transforms.periodicsequence import PeriodicImpulse
77-
from apache_beam.transforms.periodicsequence import PeriodicStream
7877
from apache_beam.utils import timestamp
7978
from apache_beam.utils import windowed_value
8079

@@ -1264,7 +1263,7 @@ def test_sliding_windows(self):
12641263
with self.create_pipeline() as p:
12651264
ret = (
12661265
p
1267-
| PeriodicStream(data, interval=1)
1266+
| PeriodicImpulse(data=data, fire_interval=1)
12681267
| beam.WithKeys(0)
12691268
| beam.WindowInto(beam.transforms.window.SlidingWindows(6, 3))
12701269
| beam.GroupByKey())

0 commit comments

Comments
 (0)