ash6898 opened a new pull request, #38252: URL: https://github.com/apache/beam/pull/38252
addresses #19347 ## Summary Replace manual experiment list manipulation with the existing helper methods: - **Python**: Convert `experiments.append(...)` to `debug_options.add_experiment(...)` in 5 files - **Java**: Replace `getExperiments()`/modify/`setExperiments()` pattern with `ExperimentalOptions.addExperiment(...)` in 3 files This is a pure refactor — no behavior change. The helper methods already handle null-init and deduplication internally. ## Files changed **Python:** - `sdks/python/apache_beam/pipeline.py` - `sdks/python/apache_beam/runners/portability/fn_api_runner/fn_runner.py` - `sdks/python/apache_beam/io/iobase_test.py` - `sdks/python/apache_beam/io/external/xlang_parquetio_test.py` - `sdks/python/apache_beam/runners/dataflow/internal/apiclient.py` **Java:** - `runners/google-cloud-dataflow-java/src/main/java/.../DataflowPipelineTranslator.java` - `runners/google-cloud-dataflow-java/src/main/java/.../DataflowRunner.java` - `runners/google-cloud-dataflow-java/worker/src/main/.../GrpcWindmillServer.java` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
