Page MenuHomeElementl

Hook Invocation
ClosedPublic

Authored by cdecarolis on Tue, Jun 8, 8:20 PM.

Details

Summary

This diff adds a way to invoke hooks directly. When a hook is invoked directly, the original decorated fxn is called. This is different depending on which type of hook is used.

I might've gone a bit overboard with code cov in the tests but the args/kwargs stuff is particularly nasty on this one due to potential differences in params on underlying fxn.

Test Plan

unit tests

Diff Detail

Repository
R1 dagster
Lint
Lint Not Applicable
Unit
Tests Not Applicable