task v2 refactor part 8: observer_task -> task_v2 in backend code (#1820)
This commit is contained in:
@@ -51,8 +51,8 @@ def main(
|
||||
{
|
||||
"workflow_permanent_id": workflow_pid,
|
||||
"status": str(workflow_run_response.status),
|
||||
"summary": workflow_run_response.observer_task.summary,
|
||||
"output": workflow_run_response.observer_task.output,
|
||||
"summary": workflow_run_response.task_v2.summary,
|
||||
"output": workflow_run_response.task_v2.output,
|
||||
"assertion": workflow_run_response.status == WorkflowRunStatus.completed,
|
||||
"failure_reason": workflow_run_response.failure_reason or "",
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user