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

Luis Gustavo Souza

10/25/2022, 1:03 PM
Hello, everyone! I need to pass some complex parameters to kedro cli (list, dicts, list of dicts; e.g: --params test:["a", "b", "c"]). Does anyone know how I achieve that?
i

Ian Whalen

10/25/2022, 1:09 PM
From the docs here is looks like you can do things like:
Copy code
kedro run --params param_key1:value1,param_key2:2.0
However, more complex stuff would probably have to be handled with an environment variable. You can see about that here. This SO answer might be helpful if you really want to do this.
❤️ 1
1000 2
l

Luis Gustavo Souza

10/25/2022, 1:33 PM
Hmm, got it. Thank you very much, Ian!
n

Nok Lam Chan

10/25/2022, 2:18 PM
Optionally, you can use
kedro run --config=config.yml
and use a YAML for the parameters instead.
4 Views