| Home | Trees | Indices | Help |
|---|
|
|
object --+
|
Job
Central entity that wraps a function and its data. Basically, a job consists of a function, its argument list, its keyword list and a field "ret" which is filled, when the execute method gets called.
Note: This can only be used to wrap picklable functions (i.e., those that are defined at the module or class level).
| Instance Methods | |||
|
|||
|
|||
|
Inherited from |
|||
| Properties | |
|
function Function this job will execute. |
|
|
native_specification define python-style getter |
|
| args | |
| cleanup | |
| environment | |
| exception | |
| jobid | |
| kwlist | |
| mem_free | |
| name | |
| num_slots | |
| path | |
| queue | |
| replace_env | |
| ret | |
| uniq_id | |
| white_list | |
| working_dir | |
|
Inherited from |
|
| Method Details |
Initializes a new Job.
|
Executes function f with given arguments and writes return value to field ret. If an exception is encountered during execution, ret will contain a pickled version of it. Input data is removed after execution to save space. |
| Property Details |
functionFunction this job will execute.
|
native_specificationdefine python-style getter
|
| Home | Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0.1 on Tue Jul 23 11:30:40 2013 | http://epydoc.sourceforge.net |