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)
Thu, May 11, 2:54 AM
Unknown Object (File)
Wed, May 10, 11:55 PM
Unknown Object (File)
Mon, May 8, 12:17 AM
Unknown Object (File)
Apr 27 2023, 12:48 AM
Unknown Object (File)
Apr 15 2023, 2:36 PM
Unknown Object (File)
Mar 29 2023, 12:29 AM
Unknown Object (File)
Mar 13 2023, 11:07 PM
Unknown Object (File)
Feb 21 2023, 7:37 PM
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