@Internal public final class PythonDependencyInfo extends Object
Constructor and Description |
---|
PythonDependencyInfo(Map<String,String> pythonFiles,
String requirementsFilePath,
String requirementsCacheDir,
Map<String,String> archives,
String pythonExec) |
Modifier and Type | Method and Description |
---|---|
static PythonDependencyInfo |
create(PythonConfig pythonConfig,
org.apache.flink.api.common.cache.DistributedCache distributedCache)
Creates PythonDependencyInfo from GlobalJobParameters and DistributedCache.
|
Map<String,String> |
getArchives() |
String |
getPythonExec() |
Map<String,String> |
getPythonFiles() |
Optional<String> |
getRequirementsCacheDir() |
Optional<String> |
getRequirementsFilePath() |
public String getPythonExec()
public static PythonDependencyInfo create(PythonConfig pythonConfig, org.apache.flink.api.common.cache.DistributedCache distributedCache)
pythonConfig
- The python config.distributedCache
- The DistributedCache object of current task.Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.