Instead of serializing the `BuildResult` to a dict in `build_stages`, we keep the object and then only serialize it in the corresponding formatting code. This doubles down on the separation between the internal data structures and the external representation of them. It was partially already done in the v2 format which hand-picked which elements of the BuildResult it would return for each stage. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| v1.py | ||
| v2.py | ||