@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.
|
close
PythonEnvironment createEnvironment() throws Exception
PythonFunctionRunner
.Exception
String createRetrievalToken() throws Exception
PythonFunctionRunner
. It contains a list of files
which need to transmit through ArtifactService provided by PythonFunctionRunner
.Exception
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.