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

Giuseppe Ughi

11/29/2023, 3:46 PM
Hi all!! Does anyone have experience setting parameters via hooks? I’m trying to set some parameters via an
after_context_created
hook where I import the KedroContext. I’m modifying the KedroContext parameters property but the changes are not reflected in the parameters. I’ve seen in the documentation that the “params” property is ReadOnly, however also the
config_loader
property should be read only but the changes that I implement in the hook are propagated through the run. Any help is highly appreciated! Thanks!!!
d

datajoely

11/29/2023, 4:22 PM
have you used
catalog.add(, replace=True)