The primary data structure used to track jobs in this script. It is
created when you add plan_t objects to the DAG dag_t.
|
|
__init__(self,
command=None,
args=None,
xenv=None,
unbufferred=False,
output_file_name=None,
shell_executable=None,
directory=None,
name=None,
show_output=True,
osenv=None,
seconds=0,
input_file_name=None)
This is the unit of work for the work_queue_t. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| dump(self,
tab_output=False,
show_output=True) |
source code
|
|
|
|
|
|
string
|
|
|
|
elapsed_time(self)
Return the elapsed time as an number of seconds |
source code
|
|
|
|
execute(self)
Execute the command whether it be a python function or a command
string. |
source code
|
|
|
bool
|
|
|
bool
|
has_python_subcommand(self)
Return true if the command list has a python function |
source code
|
|
|
|
|
|
bool
|
is_command_line(self,
i=0)
Return true if the command list element is normal string command
line. |
source code
|
|
|
bool
|
is_dir_cmd(self,
i=0)
Return true if the command list element is a python dir_cmd_t object |
source code
|
|
|
bool
|
is_python_command(self,
i=0)
Return true if the command list element is a python function |
source code
|
|
|
|
|
|
|
|
|
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__subclasshook__
|