robertwb commented on code in PR #22991:
URL: https://github.com/apache/beam/pull/22991#discussion_r961095288
##########
sdks/java/extensions/python/src/main/java/org/apache/beam/sdk/extensions/python/PythonService.java:
##########
@@ -40,25 +40,43 @@ public class PythonService {
private final String module;
private final List<String> args;
+ private final List<String> extraPackages;
- public PythonService(String module, List<String> args) {
+ public PythonService(String module, List<String> args, List<String>
extraPackages) {
this.module = module;
this.args = args;
+ this.extraPackages = extraPackages;
+ }
+
+ public PythonService(String module, List<String> args) {
+ this(module, args, ImmutableList.of());
}
public PythonService(String module, String... args) {
this(module, Arrays.asList(args));
}
+ public PythonService withExtraPackages(List<String> extraPackages) {
Review Comment:
Done.
--
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]