You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The _generate_kedro_command is called inside the MlflowPipelineHook (and generate a kedro command from the Journal information and store it in mlflow for further reproducibility. The current implementation makes if tests that fails if parameters Journal arguments are None and accepts only empty iterables. This works when kedro run is invoked through the CLI (because empty arguments are passed as empty list), but fails when context.run() is called in interactive mode because default values are None.
Description
The
_generate_kedro_command
is called inside theMlflowPipelineHook
(and generate a kedro command from the Journal information and store it in mlflow for further reproducibility. The current implementation makesif
tests that fails if parameters Journal arguments are None and accepts only empty iterables. This works whenkedro run
is invoked through the CLI (because empty arguments are passed as empty list), but fails whencontext.run()
is called in interactive mode because default values areNone
.Proposed solution
Changes tests from
kedro-mlflow/kedro_mlflow/framework/hooks/pipeline_hook.py
Line 136 in 379b617
to
The text was updated successfully, but these errors were encountered: