Skip to main content
Ctrl+K
PyFlink 1.20+vvr.11.7.dev0 documentation - Home PyFlink 1.20+vvr.11.7.dev0 documentation - Home
  • API Reference
  • Examples
  • API Reference
  • Examples

Section Navigation

  • PyFlink Table
  • PyFlink DataStream
    • StreamExecutionEnvironment
    • DataStream
    • Functions
    • State
    • Timer
    • Window
    • Checkpoint
    • Side Outputs
    • Asynchronous I/O
    • Connectors
    • Formats
  • PyFlink DataFrame
  • PyFlink Common
  • API Reference
  • PyFlink DataStream
  • StreamExecutionEnvironment
  • pyflink.datastream.stream_execution_environment.StreamExecutionEnvironment.add_python_file

pyflink.datastream.stream_execution_environment.StreamExecutionEnvironment.add_python_file#

StreamExecutionEnvironment.add_python_file(file_path: str)[source]#

Adds a python dependency which could be python files, python packages or local directories. They will be added to the PYTHONPATH of the python UDF worker. Please make sure that these dependencies can be imported.

Parameters:

file_path – The path of the python dependency.

previous

pyflink.datastream.stream_execution_environment.StreamExecutionEnvironment.configure

next

pyflink.datastream.stream_execution_environment.StreamExecutionEnvironment.set_python_requirements

On this page
  • StreamExecutionEnvironment.add_python_file()

This Page

  • Show Source

Created using Sphinx 7.4.7.

Built with the PyData Sphinx Theme 0.16.1.