What would be a good way to manually add/register ...
# questions
a
What would be a good way to manually add/register pipeline when managing kedro session? I'm considering running some pipeline in test namespace/env as part of pytests and want to use
KedroSession
to run kedro as part of a test. I have some dilema - whether I should define this test pipeline variant in a proper way and make it clutter pipelines listing and risk some accidental executions of it or to define and parametrise its version in tests and try to register it manually so I can call it using kedro session,
Well it turned out to be simple:
Copy code
from kedro.framework.project import pipelines
pipelines["test_pipeline"] = model_pipeline

ret_value = session.run(pipeline_name="test_pipeline")