HomeElementl

[RFC?] context_creation mypy

Description

[RFC?] context_creation mypy

Summary: Attempted to annotate context_creation_pipeline and associated items. This one gets a bit funky with generics and generators, so I would like some feedback on my approach. Overall though, I think the types help here a lot to illustrate what's going on with the EventGenerationManager stuff, which is a pretty arcane code path.

Test Plan: mypy

Reviewers: alangenfeld

Reviewed By: alangenfeld

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

Details

Provenance
Chris DeCarolis <cdguitar817@gmail.com>Authored on Apr 22 2021, 7:41 PM
Reviewer
alangenfeld
Differential Revision
D7571: [RFC?] context_creation mypy
Parents
R1:12f5de0addf9: [dagster-graphql] Dagster GraphQL Python Client [3/4]
Branches
Unknown
Tags
Unknown

Event Timeline

Chris DeCarolis <cdguitar817@gmail.com> committed R1:4d870570e1bc: [RFC?] context_creation mypy (authored by Chris DeCarolis <cdguitar817@gmail.com>).Apr 26 2021, 6:09 PM