ewoksutils.task_utils.task_inputs#

ewoksutils.task_utils.task_inputs(id=None, label=None, task_identifier=None, inputs=None)[source]#

Convert a {name: value} dict of inputs to a list of workflow inputs for given tasks.

Provide one of id, label and task_identifier to select the targeted tasks.

inputs = task_inputs(task_identifier="SumTask", inputs={"a": 1, "b": 1})
Parameters:
  • id (Optional[str])

  • label (Optional[str])

  • task_identifier (Optional[str])

  • inputs (Optional[Mapping])

Return type:

List[dict]