Class EmbeddedPythonEnvironmentManager

    • Constructor Detail

      • EmbeddedPythonEnvironmentManager

        public EmbeddedPythonEnvironmentManager​(PythonDependencyInfo dependencyInfo,
                                                String[] tmpDirectories,
                                                Map<String,​String> systemEnv,
                                                org.apache.flink.api.common.JobID jobID)
    • Method Detail

      • createEnvironment

        public PythonEnvironment createEnvironment()
                                            throws Exception
        Description copied from interface: PythonEnvironmentManager
        Creates the PythonEnvironment object used to execute Python functions.
        Returns:
        The PythonEnvironment object which represents the environment(embedded thread, process, docker, etc) the python worker would run in.
        Throws:
        Exception