Note
This attributes and methods are basic task configuration.
List of all dependecys. This attribute must be reimplemented.
Path to a file which will be created. This file will be checked testing which file is newwer.
What to do with this task to rebuild it. This method needs to be reimplemented after inheriting.
Note
This methods creates dependency, that can be used in different tasks.
Dependency that will run this task if not crated before.
Returns: | dependency |
---|
Dependency that will run this task if nessesery and return True if file is newwer then task.output_file.
Returns: | dependency |
---|
Note
This methods describe how the inner mechanizm works. This section is only for advaced users.
Returns: | name of the tasks provided by class value _name, or just classname if _name is None. |
---|---|
Return type: | str |
Was this task runned.
Sets runned flag.
Parameters: | value – bool flag |
---|
Test all dependency of the task and rebuild the dependency tasks.
Parameters: | dependency_force – force dependency of task to rebuild |
---|---|
Returns: | True if this task needs to be rebuilded. |
Return type: | bool |
Test dependency of this task, and rebuild it if nessesery.
Parameters: |
|
---|---|
Returns: | True if this task needs to be rebuilded. |
Return type: | bool |
Note
This methods are responsible for drawing a graph.
Writes graph data (in dot language) to datalog file pipe.
Returns graph data details (in dot language) of task object.
Return type: | str |
---|