def waiting(self): """Is the taskset waiting? :returns: :const:`True` if any of the tasks in the taskset is still waiting for execution. """ return any(not subtask.ready() for subtask in self.itersubtasks())
def failed(self): """Did the taskset fail? :returns: :const:`True` if any of the tasks in the taskset failed. (i.e., raised an exception) """ return any(subtask.failed() for subtask in self.itersubtasks())
def failed(self): """Did the taskset fail? :returns: ``True`` if any of the tasks in the taskset failed. (i.e., raised an exception) """ return any((not subtask.successful() for subtask in self.itersubtasks()))