Abstract class used to define tasks in a Prism project.
Constructor
prism.task.PrismTask
class prism.task.PrismTask(bool_run: bool = True, func: Optional[Callable[..., Any]] = None)
Parameters
bool_run: a boolean indicating whether to run the task. Default is True.
func: optional callable that overwrites the run function. Default is None.
Warning: you will never need to worry about instantiating a PrismTask class and setting bool_run / func when working with your tasks. This is all handled on the backend.