# questions

Artur Dobrogowski

02/02/2023, 3:58 PM
Hi, I'm getting to know kedro hooks - I want my hook only to run for specific pipeline. What should be the approach here? Should I detect which pipeline is running in and register it only if the pipeline is correct? Or can I somehow check which pipeline is being run in the hook itself? I don't see how to do it though from given hook parameteres: