コード例 #1
0
ファイル: result.py プロジェクト: rlotun/celery
    def ready(self):
        """Is the task ready?

        :returns: :const:`True` if all of the tasks in the taskset has been
            executed.

        """
        return all(subtask.ready() for subtask in self.itersubtasks())
コード例 #2
0
ファイル: result.py プロジェクト: rlotun/celery
    def successful(self):
        """Was the taskset successful?

        :returns: :const:`True` if all of the tasks in the taskset finished
            successfully (i.e. did not raise an exception).

        """
        return all(subtask.successful() for subtask in self.itersubtasks())
コード例 #3
0
    def ready(self):
        """Is the task ready?

        :returns: :const:`True` if all of the tasks in the taskset has been
            executed.

        """
        return all(subtask.ready() for subtask in self.itersubtasks())
コード例 #4
0
    def successful(self):
        """Was the taskset successful?

        :returns: :const:`True` if all of the tasks in the taskset finished
            successfully (i.e. did not raise an exception).

        """
        return all(subtask.successful() for subtask in self.itersubtasks())
コード例 #5
0
ファイル: buckets.py プロジェクト: adamend/celery
 def empty(self):
     return all(bucket.empty() for bucket in self.buckets.values())
コード例 #6
0
ファイル: buckets.py プロジェクト: jokar/minion
 def empty(self):
     return all(bucket.empty() for bucket in self.buckets.values())