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

Priyanka Patil

09/08/2023, 8:53 PM
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

Deepyaman Datta

09/09/2023, 6:38 PM
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

Chandan Malla

09/10/2023, 6:37 AM
you can read parameters.yml in register_pipelines.py using OmegaConfigLoader
p

Priyanka Patil

09/11/2023, 2:17 PM
Thanks both!
4 Views