kedro

Getting Kedro globals.yml to work with OmegaConfigLoader


I just started evaluating Kedro for use, and I began with a small project where I read data from a MS-SQL Server. The pipeline will run with a few months in between, and with new date ranges every time. To get this parameter (date) into the pipeline I looked into using globals.yml. The kedro run command works, I have created just one node that loads the data.

I load some parameters from globals.yml to use in catalog.yml.

How do I get globals.yml to work properly with OmegaConf in Kedro?


Solution

  • This is now supported:

    If you are on 0.18.14, it's also supported in the 0.19.x versions: https://docs.kedro.org/en/0.18.14/configuration/advanced_configuration.html#how-to-use-global-variables-with-the-omegaconfigloader