Samrat002 commented on code in PR #21770:
URL: https://github.com/apache/flink/pull/21770#discussion_r1117029594


##########
flink-python/src/main/java/org/apache/flink/python/PythonOptions.java:
##########
@@ -122,6 +122,19 @@ public class PythonOptions {
                                     + "optional parameter exists. The option 
is equivalent to the command line option "
                                     + "\"-pyreq\".");
 
+    /** The configuration allows user to define python path for client and 
workers. */
+    public static final ConfigOption<String> PYTHON_PATH =
+            ConfigOptions.key("env.PYTHONPATH")
+                    .stringType()
+                    .noDefaultValue()
+                    .withDescription(
+                            Description.builder()
+                                    .text(
+                                            "Specify the path on the Worker 
Node where the Flink Python Dependencies are installed, which "
+                                                    + "gets added into the 
PYTHONPATH of the Python Worker. "
+                                                    + "The option is 
equivalent to the command line option \"-penv.PYTHONPATH\".")

Review Comment:
   yes ! wanted to add commandline option for user. i will create a separate 
jira for that purpose . 
   i will remove the description for now 



-- 
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: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to