コード例 #1
0
ファイル: direct_workflow.py プロジェクト: openstack/mistral
    def _find_end_task_executions_as_batches(self):
        batches = db_api.get_completed_task_executions_as_batches(
            workflow_execution_id=self.wf_ex.id,
            has_next_tasks=False
        )

        for batch in batches:
            yield batch
コード例 #2
0
ファイル: lookup_utils.py プロジェクト: saadkhan44/mistral
def find_completed_task_executions_as_batches(wf_ex_id):
    return db_api.get_completed_task_executions_as_batches(
        workflow_execution_id=wf_ex_id)
コード例 #3
0
    def _find_end_task_executions_as_batches(self):
        batches = db_api.get_completed_task_executions_as_batches(
            workflow_execution_id=self.wf_ex.id, has_next_tasks=False)

        for batch in batches:
            yield batch