m3resp.workflows.StepSpec#

class m3resp.workflows.StepSpec(uses, id, inputs=<factory>, params=<factory>, outputs=<factory>)[source]#

One operation and its input, parameter and output bindings.

Variables:
  • uses (str) – Registered operation name, such as "eit.load".

  • id (str) – Unique step ID. Parsing retains explicit IDs or generates step_{position:03d}_{operation}, with dots replaced by underscores. Reordering changes generated IDs.

  • inputs (dict[str, str]) – Function-argument names mapped to context keys (in:).

  • params (dict[str, Any]) – Static settings (with:), which may contain @name references to workflow inputs.

  • outputs (dict[str, str]) – Returned output names mapped to context keys (out:).

Parameters:

Attributes

uses

id

inputs

parameter name -> context key, overriding the step's default reads.

params

static parameters (@name values reference workflow inputs).

outputs

natural output name -> context key to store it under.

id: str#
inputs: dict[str, str]#

parameter name -> context key, overriding the step’s default reads.

outputs: dict[str, str]#

natural output name -> context key to store it under.

params: dict[str, Any]#

static parameters (@name values reference workflow inputs).

uses: str#