Luc Soret
01/23/2025, 2:10 PMparameters/xxx.yml
to then pass those parameters as input of node.
My question is : is there a "Kedro way" to also access those parameters in the pipeline.py
file to create the node ? My purpose is to build nodes based on a parameter defined in this yml file
Cheers !Hall
01/23/2025, 2:10 PMPhilippe Martin
01/23/2025, 2:33 PMfrom kedro.config import OmegaConfigLoader
from kedro.framework.project import settings
conf_path = str(project_path / settings.CONF_SOURCE)
conf_loader = OmegaConfigLoader(conf_source=conf_path)
parameters = conf_loader["parameters"]
Put that in a pipeline.py file, as shown here https://docs.kedro.org/en/stable/configuration/parameters.htmlLuc Soret
01/23/2025, 3:12 PM