## StepResult


The shared fields of a step's result; each step subclasses it with typed values.


Usage

``` python
StepResult(**data)
```


A subclass narrows [config](pipeline.Pipeline.md#dazflow.pipeline.Pipeline.config) to its step's [Config](Config.md#dazflow.Config) subclass and adds its own fields. [to_dict()](StepResult.md#dazflow.StepResult.to_dict) gives strict JSON (non-finite floats become the strings `"NaN"`, `"Infinity"` and `"-Infinity"`), and [from_dict()](StepResult.md#dazflow.StepResult.from_dict) on the same subclass rebuilds an equal result.


## Methods

| Name | Description |
|----|----|
| [from_dict()](#from_dict) | Rebuild a result from [to_dict()](StepResult.md#dazflow.StepResult.to_dict) output. |
| [to_dict()](#to_dict) | A JSON-safe dictionary, for the run record and `--json`. |

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


#### from_dict()


Rebuild a result from [to_dict()](StepResult.md#dazflow.StepResult.to_dict) output.


Usage

``` python
from_dict(data)
```


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


#### to_dict()


A JSON-safe dictionary, for the run record and `--json`.


Usage

``` python
to_dict()
```
