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
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)
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