Skip to content

Commit 1b43c3f

Browse files
authored
chore: clarify argo conditionals exception (#2569)
1 parent 5bd1195 commit 1b43c3f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

metaflow/plugins/argo/argo_workflows.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1894,8 +1894,10 @@ def _container_templates(self):
18941894
# foreach-joins straight out of conditional branches are not yet supported
18951895
if self._is_conditional_join_node(node):
18961896
raise ArgoWorkflowsException(
1897-
"Conditionals steps that transition directly into a join step are not currently supported. "
1898-
"As a workaround, you can add a normal step after the conditional steps that transitions to a join step."
1897+
"Conditional steps inside a foreach that transition directly into a join step are not currently supported.\n"
1898+
"As a workaround, add a common step after the conditional steps %s "
1899+
"that will transition to a join."
1900+
% ", ".join("*%s*" % f for f in node.in_funcs)
18991901
)
19001902
# Set aggregated input-paths for a for-each join
19011903
foreach_step = next(

0 commit comments

Comments
 (0)