Hi All! I would like some guidance on executing su...
# ask-community
v
Hi All! I would like some guidance on executing success / failure hooks on a @graph. Passing the failure hook op in the 'hook' argument into the to_job() doesn't seem to trigger it? Example is below the one which does not trigger the hook, but it were a @job in place of the graph and the hooks were passed inside of it as a resource then it works: @failure_hook def abc code @graph() def xyx code xyz.to_job(hooks={abc})
j
Could you share a code example?
v
In the process of it
@johann please take a look
j
And the graph is failing? (In order to trigger your
@failure_hook
)