HomeElementl

Loosen type annotations around hook decorators

Description

Loosen type annotations around hook decorators

Summary: Mypy 0.812 breaks our hook decorator type annotations. This is because mypy cannot infer that pipeline defs are only used with hooks when the hook being invoked is already a hook definition.

Test Plan: mypy

Reviewers: alangenfeld, max

Reviewed By: max

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

Details

Provenance
Chris DeCarolis <cdguitar817@gmail.com>Authored on May 25 2021, 7:17 PM
Reviewer
max
Differential Revision
D8092: Loosen type annotations around hook decorators
Parents
R1:c9fe06a4ca64: TestStepHandler wait for processes to exit
Branches
Unknown
Tags
Unknown

Event Timeline