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

Clement

03/19/2024, 4:42 PM
Hello, is there a reason why we cannot do ${params:my_param} inside a catalog.yml or globals.yml by default ? We find it usefull to have a single place where we put parameters, and the benefit of parameters.yml is that we can overrides them at runtime (on the difference with globals.yml). Our solution was to register a new param resolver after context created using hooks (using KedroContext.params). What do you think of this ?
n

Nok Lam Chan

03/19/2024, 5:10 PM
you can use
{$runtime_params}
params:
are meant for node and serve different purpose, you can also make use of both
{$globals: xxx, {$runtime_params: yyy}}