Hey Team a very naive question. How can we know if...
# questions
v
Hey Team a very naive question. How can we know if a pipeline ran successfully. So basically, I would like to record the status of each pipeline run as success or Failure. I wanted to know the best way to have it in a kedro project.
m
It's successful if there's no errors and you'll get the following logging message: " Pipeline execution completed successfully."
v
Yeaah i can see this message on my console, but if the pipeline is running in a production environment , how do i declare the run was successful and save the Success status in database. Do you suggest to look for this specific message in the log file and then take the action.
n
@Vishal Pandey May I introduce you the Hook feature? This is something very useful when you want to extend on Kedro.
For example, there is a hook called ``after_pipeline_run` , which is probably exactly what you need :)
👍 1