Channels
announcements
introduce-yourself
resources
random
plugins-integrations
user-research
questions
questions-so
job-posting
help-
circleci-status
dependencies-releases
Powered by
#questions
Title
# 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
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
Post