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

pb95

04/03/2023, 10:25 AM
Hello everyone, I have been trying to add CLI parameters with "kedro run --pipeline mypipeline --params message:hello" that can be accessed inside my Dataset class added to the "catalog.yml". I can retrieve these parameters in "pipeline.py" using 'params:message' or but can't seem to find a way to pass it to my catalog / custom AbstractDataset class. Would you have any pointers ?
a

Antony Milne

04/03/2023, 10:52 AM
Hi @pb95, which config loader are you using at the moment? e.g.
TemplatedConfigLoader
?
OmegaConfLoader
? @Nok Lam Chan very relevant to the recent discussion 😄
👍🏼 1
n

Nok Lam Chan

04/03/2023, 11:20 AM
It’s very relevant indeed. What version of Kedro and ConfigLoader are you using @pb95? Better if you can provide an example of your
catalog.yml
and expected/actual output.