ihji commented on code in PR #22982:
URL: https://github.com/apache/beam/pull/22982#discussion_r964260783
##########
sdks/java/extensions/python/src/main/java/org/apache/beam/sdk/extensions/python/PythonService.java:
##########
@@ -132,6 +136,17 @@ private String whichPython() {
throw new RuntimeException("Unable to find a suitable Python executable.");
}
+ @VisibleForTesting
+ static String getMatchingStablePythonSDKVersion(String javaSDKVersion) {
+ if (javaSDKVersion == null) {
Review Comment:
It's just a safeguard for the case that `sdk_version` field is missing from
`sdk.properties` file. In practice, this should not happen.
--
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]