Page MenuHomeElementl

Loosen type annotations around hook decorators
ClosedPublic

Authored by cdecarolis on May 25 2021, 7:20 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Aug 15, 7:47 AM
Unknown Object (File)
Mon, Aug 1, 6:52 PM
Unknown Object (File)
Sat, Jul 30, 11:02 AM
Unknown Object (File)
Fri, Jul 29, 1:22 PM
Unknown Object (File)
Fri, Jul 29, 12:18 AM
Unknown Object (File)
Wed, Jul 20, 11:42 PM
Unknown Object (File)
Mon, Jul 18, 4:48 PM
Unknown Object (File)
Jul 15 2022, 2:12 AM
Subscribers
None

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
Branch
change_decorators
Lint
Lint Passed
Unit
No Test Coverage