hundreds-wire-22547
01/27/2025, 7:20 PMFailed: invalid spec: templates.MyFlow.tasks.join-tasks templates.join-tasks.inputs.parameters[2].name 'split-cardinality' is not unique
ancient-application-36103
01/27/2025, 7:21 PMancient-application-36103
01/27/2025, 7:22 PMhundreds-wire-22547
01/27/2025, 7:31 PMsplit-cardinality
parameter in the flow, looks like we are on v2.11.7
ancient-application-36103
01/27/2025, 7:32 PM2.11.7
?ancient-application-36103
01/27/2025, 7:33 PMhundreds-wire-22547
01/27/2025, 8:16 PMsplit-cardinality
at https://github.com/Netflix/metaflow/blob/c7a04f035b7f0ed037c52aeafbcb5c96c3e629a7/metaflow/plugins/argo/argo_workflows.py#L1297ancient-application-36103
01/27/2025, 8:17 PMancient-application-36103
01/27/2025, 8:17 PM2.11.7
for argo seems like a very old version?ripe-alarm-8919
01/28/2025, 12:27 AM3.5.1
ancient-application-36103
01/28/2025, 1:15 AMripe-alarm-8919
01/28/2025, 1:25 AMunable to evaluate expression
) seems a bit different from what we see. (invalid spec
)ancient-application-36103
01/28/2025, 1:25 AMsplit-cardinality
. are you sure nothing else injects this parameter in your flow?hundreds-wire-22547
01/28/2025, 4:27 AMsplit-cardinality
in the join step:
- name: combine-er-steps
inputs:
parameters:
- name: input-paths
- name: split-cardinality
- name: split-cardinality
hundreds-wire-22547
01/28/2025, 4:28 AMclass ErWorkflow(FlowSpec): # type: ignore
# pylint: disable=too-many-instance-attributes
@step
def start(self) -> None:
print("start")
self.next(self.run_er_steps)
@step
def run_er_steps(self) -> None:
self.my_lst = [1, 2, 3]
self.next(self.dummy_step, foreach="my_lst")
@step
def dummy_step(self) -> None:
self.next(self.combine_er_steps)
@step
def combine_er_steps(self, inputs: Inputs) -> None:
self.next(self.end)
@step
def end(self) -> None:
print("end")
ancient-application-36103
01/28/2025, 4:29 AMhundreds-wire-22547
01/28/2025, 4:53 AMhundreds-wire-22547
01/28/2025, 8:28 PMthankful-ambulance-42457
01/28/2025, 8:31 PM