robertwb commented on a change in pull request #11557:
URL: https://github.com/apache/beam/pull/11557#discussion_r418401987
##########
File path:
sdks/java/expansion-service/src/main/java/org/apache/beam/sdk/expansion/service/ExpansionService.java
##########
@@ -317,6 +321,14 @@ default InputT createInput(Pipeline p, Map<String,
PCollection<?>> inputs) {
Pipeline pipeline = Pipeline.create();
ExperimentalOptions.addExperiment(
pipeline.getOptions().as(ExperimentalOptions.class), "beam_fn_api");
+ List<String> classpathResources =
+ detectClassPathResourcesToStage(Environments.class.getClassLoader(),
pipeline.getOptions());
Review comment:
Correct. This is a reasonable default (and the provider of an expansion
service can always arrange that it is so), but we'll probably eventually want a
way to customize this.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]