Join Slack
Powered by
QQ: if I have 2 different hooks: A and B, where bo...
# questions
e
Erwin
09/15/2023, 2:44 PM
QQ: if I have 2 different hooks: A and B, where both uses
after_pipeline_run
how do I set the order of execution?
n
Nok Lam Chan
09/15/2023, 2:59 PM
https://github.com/kedro-org/kedro/pull/3013/files
The docs is about to be merged.
thankyou
1
Nok Lam Chan
09/15/2023, 3:00 PM
TL;DR hooks order shouldn’t be mattered in most case, and you should not relies on the order. If there are something that need to be triggered first, i.e. setting up connection etc. You can use the
tryfirst
argument, which is support by
pluggy
natively.
👍 1
Open in Slack
Previous
Next