Package org.apache.flink.python.env
Class AbstractPythonEnvironmentManager.PythonLeasedResource
java.lang.Object
org.apache.flink.python.env.AbstractPythonEnvironmentManager.PythonLeasedResource
- All Implemented Interfaces:
AutoCloseable
- Enclosing class:
- AbstractPythonEnvironmentManager
public static final class AbstractPythonEnvironmentManager.PythonLeasedResource
extends Object
implements AutoCloseable
Python lease resource which includes environment variables and working directory of execution
python environment.
-
Field Summary
Fields -
Method Summary
-
Field Details
-
env
-
baseDirectory
The base directory of the Python Environment.
-
-
Method Details
-
close
- Specified by:
closein interfaceAutoCloseable- Throws:
Exception
-