This class provides a serializable job definiton and consists of a
task specification along with runtime parameters.
|
__init__(self,
task_spec,
runtime_params)
x.__init__(...) initializes x; see help(type(x)) for signature |
|
|
|
|
|
_validate(self)
Validate that all the necessary inputs are present in the runtime
parameters. |
|
|
|
_validateOutputFilenames(self)
Check for runtime name collisions. |
|
|
|
_getKeyValue(self,
match)
Return the value of the key in the provided match object. |
|
|
|
_subInputOrJobname(self,
string)
Replace template keys with the appropriate values. |
|
|
|
getCommand(self)
Return the shell command that will run the job. |
|
|
|
getOutputFile(self,
key,
stream=None,
incorporate=None)
Get the output file corresponding to the given key from the job
specification. |
|
|
|
getOutputFiles(self,
stream=None,
incorporate=None)
Get all the output files from the job specification. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
driverReservesCores(self)
If True, the driver will allocate N slots matching -HOST hostname: N
processes. |
|
|
|
jobUsesTPP(self)
If True, this job will allocate N slots on one node matching -TPP N. |
|
|
|
getLicenses(self)
Returns licenses as a list of tuples of ( license_name, num_tokens) |
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|