We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e59531 commit 08f2836Copy full SHA for 08f2836
cylc/flow/config.py
@@ -2289,10 +2289,12 @@ def check_outputs(self, terminals: Iterable[str]) -> None:
2289
2290
Raises: WorkflowConfigError if a custom output is not defined.
2291
"""
2292
+ # TODO (On drop 3.7): Can be simplified with walrus :=
2293
+ # if (b := a[1].strip("?")) not in TASK_QUALIFIERS
2294
terminal_outputs = [
- (a[0].strip("!"), b)
2295
+ (a[0].strip("!"), a[1].strip("?"))
2296
for a in (t.split(':') for t in terminals if ":" in t)
- if (b := a[1].strip("?")) not in TASK_QUALIFIERS
2297
+ if (a[1].strip("?")) not in TASK_QUALIFIERS
2298
]
2299
2300
for task, output in terminal_outputs:
0 commit comments