## pipeline.RunRecord


The run record, written as `reports/record.json`.


Usage

``` python
pipeline.RunRecord(**data)
```


Fields:

- `schema_version` and [kind](Registry.kind.md#dazflow.Registry.kind): the format; [load](Config.md#dazflow.Config.load) refuses another version.
- [run](clean.run.md#dazflow.clean.run): identifier, times, steps run and carried, status.
- `project`: the project configuration as run, defaults filled in (or None).
- `pipeline`: the step names in order.
- [config](pipeline.Pipeline.md#dazflow.pipeline.Pipeline.config): each step's configuration as run, every default filled in.
- `results`: each step's [StepResult.to_dict()](StepResult.md#dazflow.StepResult.to_dict).
- `checks`: every gate check of every step, with its step.
- `overrides`: every configured gate override, with its step.
- [environment](pipeline.environment.md#dazflow.pipeline.environment): Python, platform and package versions.
- `inputs`: a fingerprint of every input read.
- `datasets`: each step's dataset fingerprint and path.


## Methods

| Name | Description |
|----|----|
| [dump()](#dump) | Write the record to [path](forecast.ForecastResult.md#dazflow.forecast.ForecastResult.path) as UTF-8 JSON. |
| [dumps()](#dumps) | The record as JSON text, two-space indented, with a final newline. |
| [from_dict()](#from_dict) | A record from [to_dict()](StepResult.md#dazflow.StepResult.to_dict) output; another schema version is a [RecordError](RecordError.md#dazflow.RecordError). |
| [load()](#load) | Read a record written by [dump](Config.md#dazflow.Config.dump). |
| [result()](#result) | The step's result rebuilt as its own `Result` type, with `dataset=None`. |
| [to_dict()](#to_dict) | The record as strict JSON-safe data. |

------------------------------------------------------------------------


#### dump()


Write the record to [path](forecast.ForecastResult.md#dazflow.forecast.ForecastResult.path) as UTF-8 JSON.


Usage

``` python
dump(path)
```


------------------------------------------------------------------------


#### dumps()


The record as JSON text, two-space indented, with a final newline.


Usage

``` python
dumps()
```


------------------------------------------------------------------------


#### from_dict()


A record from [to_dict()](StepResult.md#dazflow.StepResult.to_dict) output; another schema version is a [RecordError](RecordError.md#dazflow.RecordError).


Usage

``` python
from_dict(data)
```


------------------------------------------------------------------------


#### load()


Read a record written by [dump](Config.md#dazflow.Config.dump).


Usage

``` python
load(path)
```


------------------------------------------------------------------------


#### result()


The step's result rebuilt as its own `Result` type, with `dataset=None`.


Usage

``` python
result(step)
```


------------------------------------------------------------------------


#### to_dict()


The record as strict JSON-safe data.


Usage

``` python
to_dict()
```
