https://kedro.org/ logo
#questions
Title
# questions
f

Flavien

09/26/2023, 5:57 PM
Hi fellows, probably a silly question but I can't find a way to pass a list as a parameter to the CLI, for example something like
--params metrics:TEMPERATURE,WIND_SPEED
. If I am not mistaken, the splitting of
--params
is done on commas and the result is passed to
OmegaConf.from_dotlist
but I can't find the way to pass a list. Thanks for your help!
šŸ‘šŸ¼ 1
d

datajoely

09/26/2023, 6:03 PM
Two ways: • From the raw CLI you will need to make your own omegaconf resolver • You can use the
kedro run --config my_file.yaml
and pass a list that way
n

Nok Lam Chan

09/26/2023, 7:01 PM
It is not supported yet indeed. See https://github.com/kedro-org/kedro/issues/2552
šŸ‘ 1
Please leave comments there if you think that it is needed, or if you are open to make a PR
f

Flavien

09/27/2023, 6:44 AM
Thanks for the quick replies!