m3resp.workflows.CompiledWorkflow#

class m3resp.workflows.CompiledWorkflow(name, schema_version, steps=())[source]#

An ordered description of workflow steps with resolved settings.

Variables:
  • name (str) – Workflow name copied from the spec.

  • schema_version (int | None) – Spec format version, or None for an unversioned spec.

  • steps (tuple[m3resp.workflows.compiler.CompiledStep, ...]) – Compiled steps in execution order.

Parameters:
  • name (str)

  • schema_version (int | None)

  • steps (tuple[CompiledStep, ...])

Methods

as_dict

Return the workflow name, format version and step descriptions as a dict.

Attributes

as_dict()[source]#

Return the workflow name, format version and step descriptions as a dict.

Return type:

dict[str, Any]

name: str#
schema_version: int | None#
steps: tuple[CompiledStep, ...] = ()#