Skip to content

Commit 9101405

Browse files
author
Alan Christie
committed
fix: Fix variables for subsequent steps
1 parent ded5280 commit 9101405

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

workflow/workflow_engine.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,8 +282,8 @@ def _handle_pod_message(self, msg: PodMessage) -> None:
282282
)
283283
assert "id" in rwfs_response
284284
new_r_wfsid: str = rwfs_response["id"]
285-
project_id = rwf_response["project"]["id"]
286-
variables = rwf_response["variables"]
285+
project_id: str = rwf_response["project"]["id"]
286+
variables: dict[str, Any] | None = rwf_response.get("variables")
287287
lp: LaunchParameters = LaunchParameters(
288288
project_id=project_id,
289289
application_id=DM_JOB_APPLICATION_ID,

0 commit comments

Comments
 (0)