StepResult
The shared fields of a step’s result; each step subclasses it with typed values.
Usage
StepResult(**data)A subclass narrows config to its step’s Config subclass and adds its own fields. to_dict() gives strict JSON (non-finite floats become the strings "NaN", "Infinity" and "-Infinity"), and from_dict() on the same subclass rebuilds an equal result.
Methods
| Name | Description |
|---|---|
| from_dict() | Rebuild a result from to_dict() output. |
| to_dict() |
A JSON-safe dictionary, for the run record and --json.
|
from_dict()
Rebuild a result from to_dict() output.
Usage
from_dict(data)to_dict()
A JSON-safe dictionary, for the run record and --json.
Usage
to_dict()