Page MenuHomeElementl

Loosen type annotations around hook decorators
ClosedPublic

Authored by cdecarolis on May 25 2021, 7:20 PM.

Details

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

Diff Detail

Repository
R1 dagster
Lint
Lint Not Applicable
Unit
Tests Not Applicable