Skip to content

Support inputs with multiple arguments #1933

Closed
@Ark-kun

Description

@Ark-kun

Need to support variadic inputs in ComponentSpec, Lightweight components, load_component etc.

In command-line we can pass multiple inputs as repeated command-line parameters: --a 1 --a 2.
In TaskSpec we can make argument a list: arguments: {a: [1, 2]}.
In inputSpec we could add repeated: true or allowMultiple: true property.
In ContainerImplementation we could specify the command args as follows: {map: {source: {inputValue: RepInput}, selector: [--a, {item}] }}

Related: #1901

Metadata

Metadata

Assignees

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions