@Internal public interface PythonEnvironmentManager extends AutoCloseable
| Modifier and Type | Method and Description |
|---|---|
PythonEnvironment |
createEnvironment()
Creates the PythonEnvironment object used in
PythonFunctionRunner. |
String |
createRetrievalToken()
Creates the RetrievalToken used in
PythonFunctionRunner. |
String |
getBootLog()
Returns the boot log of the Python Environment.
|
void |
open()
Initialize the environment manager.
|
closePythonEnvironment createEnvironment() throws Exception
PythonFunctionRunner.ExceptionString createRetrievalToken() throws Exception
PythonFunctionRunner. It contains a list of files
which need to transmit through ArtifactService provided by PythonFunctionRunner.ExceptionCopyright © 2014–2021 The Apache Software Foundation. All rights reserved.