Skip to content

Commit 3fe5969

Browse files
author
Alan Christie
committed
fix: Better handling of get_running_workflow_step_by_name() response
1 parent 1d41048 commit 3fe5969

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

workflow/workflow_engine.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -609,6 +609,8 @@ def _prepare_step(
609609
name=prior_step_name,
610610
running_workflow_id=rwf_id,
611611
)
612+
assert prior_step
613+
assert "variables" in prior_step
612614
# Copy "in" value to "out"...
613615
for connector in connections:
614616
assert connector.in_ in prior_step["variables"]

0 commit comments

Comments
 (0)