Galen Seilis
07/03/2024, 11:19 PMafter_pipeline_run hook. Is this hook something that would run after each pipeline, or after all the pipelines have run? Or something else?
https://docs.kedro.org/en/stable/hooks/introduction.html
I should explain my use case a little to avoid a XY-problem: https://xyproblem.info/
I am considering using hooks to run Nelsie so the slides for the project are updated with fresh results every time the Kedro project is run. The slides only need to be generated once after everything else has run. Running the Kedro product will generate a variety of images saved as datasets, and then the Nelsie code will have paths to where those files are expected.
https://spirali.github.io/nelsie/Juan Luis
07/04/2024, 5:56 AMkedro run is in fact 1 pipeline. you can see that KedroSession invokes after_pipeline_run exactly once:
https://github.com/kedro-org/kedro/blob/c269cde7ce64318842c0a094e843937327b6bf45/kedro/framework/session/session.py#L394-L414Galen Seilis
07/04/2024, 5:58 AMGalen Seilis
07/04/2024, 8:48 PM