Open
Description
Description
When I package a kedro pipeline for serving with modelify my kedro hooks no longer work.
Context
I was using hooks for initialization of some structures and had to make workarounds because hooks are not called. I'd like for hooks "before_pipeline_run" or "after_catalog_creation" to be called once when the server starts serving.
https://kedro.readthedocs.io/en/stable/hooks/introduction.html
Steps to Reproduce
- Make a pipeline with hooks
- use
kedro mlflow modelify ...
to package it for serving - start serving with
mlflow models serve ...
- observe that hooks are not run
I may publish minimal example code later to check it out.
Expected Result
Hooks should run.
Actual Result
They do not.
Tell us what happens instead.
Your Environment
Include as many relevant details about the environment in which you experienced the bug:
kedro
andkedro-mlflow
version used (pip show kedro
andpip show kedro-mlflow
): 0.18.4, 0.11.7- Python version used (
python -V
): 3.10.9 - Operating system and version: archlinux 64bit
Does the bug also happen with the last version on master?
Yes.
Metadata
Metadata
Assignees
Projects
Status
📋 Backlog