HomePhabricator

(incremental-meta-4) Using meta to power EnvironmentSchema

Authored by schrockn on Nov 23 2019, 4:41 PM.

Description

(incremental-meta-4) Using meta to power EnvironmentSchema

Summary:
This adds an alternative way of constructing the config type
dauphin classes, using the meta objects. We then power the
EnvironmentSchema.allConfigTypes field using it.

We also use it to powere configTypeOrError on EnvironmentSchema.

Eliminate duplicative root call at configTypeError

Worth noting that there might be an argument for keeping the root
version instead.

Test Plan: DK and use dagit.

Reviewers: max, alangenfeld

Reviewed By: alangenfeld

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

Details

Committed
schrocknNov 25 2019, 11:59 PM
Reviewer
alangenfeld
Differential Revision
D1478: (incremental-meta-4) Using meta to power EnvironmentSchema
Parents
R1:0f330e07ca85: Remove extraneous requirements.txt files
Branches
Unknown
Tags
Unknown