Skip to content

Commit

Permalink
[BugFix] [PyFlink] Fix flink1.18 python options (DataLinkDC#3324)
Browse files Browse the repository at this point in the history
  • Loading branch information
zackyoungh authored Mar 25, 2024
1 parent eed15b2 commit deeeda8
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,17 @@ 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("python.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 \"-pypath\".")
.build());

public static final ConfigOption<String> PYTHON_ARCHIVES = ConfigOptions.key("python.archives")
.stringType()
.noDefaultValue()
Expand Down

0 comments on commit deeeda8

Please sign in to comment.