https://kedro.org/ logo
#advanced-need-help
Title
# advanced-need-help
a

antony.milne

06/24/2022, 4:27 PM
ok, the simplest way to do this would be to go into settings.py and uncommnent and modify the bit of code about
CONFIG_LOADER_CLASS
. It should look something like this:
Copy code
# Class that manages how configuration is loaded.
from kedro.config import TemplatedConfigLoader
CONFIG_LOADER_CLASS = TemplatedConfigLoader
# Keyword arguments to pass to the `CONFIG_LOADER_CLASS` constructor.
CONFIG_LOADER_ARGS = {
     "globals_dict": {"date": get_date_in_yyyymm_format()},
}
and then you can use
date
as a variable in your catalog.yml file.