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,
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, DistributedCache distributedCache)
pythonConfig
- The python config.distributedCache
- The DistributedCache object of current task.Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.