HomePhabricator

(Runs 2/N) Create PipelineRunData value object

Authored by schrockn on Sep 3 2019, 9:02 PM.

Description

(Runs 2/N) Create PipelineRunData value object

Summary:
This removes the pernicious pattern of blindly passing along kwargs
into the create_run method of run storage. Instead we create a value
object, which should also be much easier to serialize.

This will represent what needs to be persisted in any particular runs backend, whereas the current PipelineRun object will be augmented with state like what subscribers are active, etc.

Test Plan: Buildkite

Reviewers: #ft, natekupp

Reviewed By: #ft, natekupp

Subscribers: natekupp

Differential Revision: https://dagster.phacility.com/D924

Details

Committed
schrocknSep 4 2019, 2:50 PM
Reviewer
Restricted Project
Differential Revision
D924: (Runs 2/N) Create PipelineRunData value object
Parents
R1:a5e03a1773dd: (Runs 1/N) Make ExecutionSelector a namedtuple
Branches
Unknown
Tags
Unknown