Skip to content

Commit

Permalink
[FLINK-15270][python][docs] Corrects docs for method `set_python_exec…
Browse files Browse the repository at this point in the history
…utable` in TableConfig
  • Loading branch information
hequn8128 committed Dec 17, 2019
1 parent 6f71ef0 commit 5b1df6e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 1 addition & 2 deletions flink-python/pyflink/table/table_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,8 +305,7 @@ def set_python_executable(self, python_exec):
.. note::
The python udf worker depends on Apache Beam (version == 2.15.0),
Pip (version >= 7.1.0) and SetupTools (version >= 37.0.0).
The python udf worker depends on Apache Beam (version == 2.15.0).
Please ensure that the specified environment meets the above requirements.
:param python_exec: The path of python interpreter.
Expand Down
4 changes: 3 additions & 1 deletion flink-python/pyflink/table/table_environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -799,7 +799,9 @@ def set_python_requirements(self, requirements_file_path, requirements_cache_dir
.. note::
Please make sure the installation packages matches the platform of the cluster
and the python version used. These packages will be installed using pip.
and the python version used. These packages will be installed using pip,
so also make sure the version of Pip (version >= 7.1.0) and the version of
SetupTools (version >= 37.0.0).
:param requirements_file_path: The path of "requirements.txt" file.
:type requirements_file_path: str
Expand Down

0 comments on commit 5b1df6e

Please sign in to comment.