...
# Create training and prediction DFs
def create_pipeline(**kwargs) -> Pipeline:
"""Function to create the data prep pipeline."""
return pipeline(
[
...
node(
func=nodes_data_prep.prepare_df,
inputs={
"some_df": "some_df",
"training_month": "params:data_preparation.training_month",
},
outputs="model_input.master_df",
name="create_master_df",
tags=["data_preparation_prod", "group.data_preparation"],
),
...
]
)
I'm sure, i'm missing something, but i can't figure out how the --param argument passes in runtime parameters and how to define them correctly.
Param definitions tried:
When trying to do a, as indicated in the docstring with '='
i always end up with this value error
When using the ':' like described in the kedro documentation
I get
The parameter is set within the base config -> model_name -> data-preparation -> parameters.yaml It's defined as:
Within the pipeline code it's called as:
I'm sure, i'm missing something, but i can't figure out how the --param argument passes in runtime parameters and how to define them correctly. Param definitions tried: