Hi Kedro Team, Hope you’re doing well! Is there a...
# questions
p
Hi Kedro Team, Hope you’re doing well! Is there a way to pass an arg to register_pipelines()? I’d like to pass the params to the pipelines via kedro run command. OR Be able to read parameters.yml in register_pipelines() Thanks!
d
Is there a way to pass an arg to register_pipelines()?
Not really, unless you modify the framework code.
Be able to read parameters.yml in register_pipelines()
I guess
settings
is configured before
pipelines
in https://github.com/kedro-org/kedro/blob/e949c6c7d8814ba5fc97c7204c69103a3e9ad21a/kedro/framework/project/__init__.py#L233-L235, so conceivably you could reference the
ConfigLoader
in
register_pipelines()
?
👍 1
c
you can read parameters.yml in register_pipelines.py using OmegaConfigLoader
p
Thanks both!