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, Feb 2, 11:09 AM
Unknown Object (File)
Mon, Jan 9, 11:40 AM
Unknown Object (File)
Jan 5 2023, 10:52 PM
Unknown Object (File)
Dec 29 2022, 8:52 PM
Unknown Object (File)
Dec 13 2022, 9:53 AM
Unknown Object (File)
Dec 7 2022, 2:36 AM
Unknown Object (File)
Dec 1 2022, 5:57 AM
Unknown Object (File)
Nov 22 2022, 10:10 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