concurrent foreach work
This commit is contained in:
@@ -15,7 +15,7 @@ from wf_core.runtime.ops.schemas import validate_payload_against_schema
|
||||
from wf_core.runtime.ops.state import project_output
|
||||
from wf_core.runtime.scheduler import (
|
||||
mark_frame_pending,
|
||||
wake_parent_if_children_complete,
|
||||
wake_parent_for_child_progress,
|
||||
)
|
||||
from wf_core.tokens import END
|
||||
|
||||
@@ -81,7 +81,7 @@ def advance_frame(
|
||||
if next_node_id == END:
|
||||
frame.status = FrameStatus.COMPLETED
|
||||
frame.finished_at_node_id = END
|
||||
wake_parent_if_children_complete(run, frame.id)
|
||||
wake_parent_for_child_progress(run, frame.id)
|
||||
else:
|
||||
frame.finished_at_node_id = None
|
||||
mark_frame_pending(run, frame.id)
|
||||
|
||||
Reference in New Issue
Block a user