Ctrl+K
Logo image Logo image

Site Navigation

  • API Reference
  • Examples

Site Navigation

  • API Reference
  • Examples

Section Navigation

  • PyFlink Table
  • PyFlink DataStream
    • StreamExecutionEnvironment
    • DataStream
    • Functions
    • State
    • Timer
    • Window
    • Checkpoint
    • Side Outputs
    • Connectors
    • Formats
  • PyFlink Common

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()
Show Source

Created using Sphinx 5.3.0.