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)
Wed, Mar 29, 12:29 AM
Unknown Object (File)
Mon, Mar 13, 11:07 PM
Unknown Object (File)
Feb 21 2023, 7:37 PM
Unknown Object (File)
Feb 11 2023, 9:54 AM
Unknown Object (File)
Feb 11 2023, 12:48 AM
Unknown Object (File)
Feb 8 2023, 2:35 AM
Unknown Object (File)
Feb 2 2023, 11:09 AM
Unknown Object (File)
Jan 9 2023, 11:40 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
Lint
Lint Not Applicable
Unit
Tests Not Applicable