Hi, question regarding `failure_hook`, would it be...
# ask-community
i
Hi, question regarding
failure_hook
, would it be called if an upstream op failed?
🤖 1
j
hey @Ignas Kizelevičius unless you add the hook to the entire job, the hook will only be called for the ops that it is applied to with the
with_hooks
method. So for example, if in this example
a
was downstream of an op
first_op
and only
a
had the hook applied, then a failure in
first_op
would not trigger the hook
i
Understood, thanks Jamie.