You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by "tvalentyn (via GitHub)" <gi...@apache.org> on 2023/06/29 14:54:24 UTC
[GitHub] [beam] tvalentyn commented on a diff in pull request #27236: Switch Python SDK harness entrypoint to use python3
tvalentyn commented on code in PR #27236:
URL: https://github.com/apache/beam/pull/27236#discussion_r1246732375
##########
sdks/python/container/piputil.go:
##########
@@ -28,7 +28,19 @@ import (
"github.com/apache/beam/sdks/v2/go/pkg/beam/util/execx"
)
-
+// It will return the python interpreter type i.e. python or python3 if available else return empty string.
+func pythonVersion() string {
Review Comment:
Let's not duplicate the implementation. Can we find a home for the helper under https://github.com/apache/beam/tree/master/sdks/go/pkg/beam/util/ ?
--
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: github-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org