Hi fellows, probably a silly question but I can't ...
# questions
f
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
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
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
Thanks for the quick replies!