Skip to main content

pipeline.Run

One pass through a pipeline. Nothing in it has been written anywhere.

Usage

Source

pipeline.Run(
    pipeline,
    steps,
    results,
    configs,
    started,
    finished,
    carried=(),
    start=None,
    stop=None,
    stopped_at=None,
    inputs=(),
    carried_record=None,
    environment=None
)

results and configs hold every step up to the last run, in pipeline order: those run now (steps) and those carried from an earlier record (carried). The run stops after a step whose gate fails; that step is stopped_at, and the steps after it are not run.

Parameter Attributes

pipeline: tuple[str, …]
steps: tuple[str, …]
results: Mapping[str, StepResult]
configs: Mapping[str, Config]
started: str
finished: str
carried: tuple[str, …] = ()
start: str | None = None
stop: str | None = None
stopped_at: str | None = None
inputs: tuple[InputRecord, …] = ()
carried_record: RunRecord | None = None
environment: Environment | None = None

Attributes

Name Description
id <finished time>-<8 hex digits> from the configuration and the datasets.
passed Every step run has a gate that passed (failed checks overridden count as passed).

id

<finished time>-<8 hex digits> from the configuration and the datasets.

id: str


passed

Every step run has a gate that passed (failed checks overridden count as passed).

passed: bool

Methods

Name Description
record() The run record. project is the project configuration; datasets the paths written.

record()

The run record. project is the project configuration; datasets the paths written.

Usage

Source

record(project=None, datasets=None)