Getting ./bin/pyl to pass

This commit is contained in:
Jon Herron 2023-02-22 13:34:26 -05:00
parent 488abc03ea
commit 7f2d69163e
1 changed files with 3 additions and 1 deletions

View File

@ -1608,7 +1608,9 @@ class ProcessInstanceProcessor:
raise ApiError.from_workflow_exception("task_error", str(we), we) from we
@classmethod
def get_tasks_with_data(cls, bpmn_process_instance: BpmnWorkflow) -> List[SpiffTask]:
def get_tasks_with_data(
cls, bpmn_process_instance: BpmnWorkflow
) -> List[SpiffTask]:
return [
task
for task in bpmn_process_instance.get_tasks(TaskState.FINISHED_MASK)