Skip to content

Move PeriodicStream into periodicsequence. #35412

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Jun 27, 2025
Merged
193 changes: 0 additions & 193 deletions sdks/python/apache_beam/ml/ts/util.py

This file was deleted.

93 changes: 0 additions & 93 deletions sdks/python/apache_beam/ml/ts/util_test.py

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@
from apache_beam.metrics import monitoring_infos
from apache_beam.metrics.execution import MetricKey
from apache_beam.metrics.metricbase import MetricName
from apache_beam.ml.ts.util import PeriodicStream
from apache_beam.options.pipeline_options import DebugOptions
from apache_beam.options.pipeline_options import DirectOptions
from apache_beam.options.pipeline_options import PipelineOptions
Expand Down Expand Up @@ -1264,7 +1263,7 @@ def test_sliding_windows(self):
with self.create_pipeline() as p:
ret = (
p
| PeriodicStream(data, interval=1)
| PeriodicImpulse(data=data, fire_interval=1)
| beam.WithKeys(0)
| beam.WindowInto(beam.transforms.window.SlidingWindows(6, 3))
| beam.GroupByKey())
Expand Down
Loading
Loading