Dependency returns true if file provided was changed. If task argument is provided, then run that task if it should be done.
Dependency returns ture if file does not exists.
Dependency will always make a task rebuild.
Method that will be called to check if dependency need to be rebuilded (if it is a task), and return True if task assigned will have to rebuild.
Note
Use this to make a dependency test, but put your code into the do_test method if you have your own dependency.
Parameters: |
|
---|---|
Return type: | bool |
Returns: | was task runned |
Method that will be called to check if dependency need to be rebuilded (if it is a task), and return True if task assigned will have to rebuild.
Note
This method is only for inheritance. If you have your own Dependancy, make you code here instead of in __call__.
Note
This methods are responsible for drawing a graph.
Options for the links (like adding comments, or changing color) :rtype: str
Returns graph data details (in dot language) of task object.
Return type: | str |
---|
Writes graph data (in dot language) to datalog file pipe.
Returns name of dependency
Return type: | str |
---|
Returns shape of dependency.
Return type: | str |
---|