|
|
|
@ -699,12 +699,15 @@ class WorkflowCycleManager:
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
def _workflow_iteration_next_to_stream_response(
|
|
|
|
def _workflow_iteration_next_to_stream_response(
|
|
|
|
self, *, session: Session, task_id: str, workflow_run: WorkflowRun, event: QueueIterationNextEvent
|
|
|
|
self,
|
|
|
|
|
|
|
|
*,
|
|
|
|
|
|
|
|
task_id: str,
|
|
|
|
|
|
|
|
workflow_execution_id: str,
|
|
|
|
|
|
|
|
event: QueueIterationNextEvent,
|
|
|
|
) -> IterationNodeNextStreamResponse:
|
|
|
|
) -> IterationNodeNextStreamResponse:
|
|
|
|
_ = session
|
|
|
|
|
|
|
|
return IterationNodeNextStreamResponse(
|
|
|
|
return IterationNodeNextStreamResponse(
|
|
|
|
task_id=task_id,
|
|
|
|
task_id=task_id,
|
|
|
|
workflow_run_id=workflow_run.id,
|
|
|
|
workflow_run_id=workflow_execution_id,
|
|
|
|
data=IterationNodeNextStreamResponse.Data(
|
|
|
|
data=IterationNodeNextStreamResponse.Data(
|
|
|
|
id=event.node_id,
|
|
|
|
id=event.node_id,
|
|
|
|
node_id=event.node_id,
|
|
|
|
node_id=event.node_id,
|
|
|
|
|