DIVINE
06/15/2022, 10:42 PMnoklam
06/15/2022, 10:46 PMnoklam
06/15/2022, 10:47 PMgreeeen
06/17/2022, 3:46 PMdatajoely
06/17/2022, 3:48 PMgreeeen
06/17/2022, 4:02 PMdatajoely
06/17/2022, 4:02 PMdatajoely
06/17/2022, 4:03 PMdatajoely
06/17/2022, 4:03 PMgreeeen
06/17/2022, 4:07 PMdatajoely
06/17/2022, 4:19 PMdatajoely
06/17/2022, 4:20 PMDeep
06/20/2022, 3:37 PMDeep
06/20/2022, 3:43 PMuser
06/20/2022, 6:46 PMDeep
06/21/2022, 10:22 AMDeep
06/21/2022, 10:23 AMdatajoely
06/21/2022, 11:47 AMuser
06/21/2022, 12:05 PMdebbyChan57
06/24/2022, 6:34 AMantony.milne
06/24/2022, 7:49 AMafter_context_created
one
* write a custom ConfigLoader
and reference it in CONFIG_LOADER_CLASS
in settings.py
This is quite a common question so if you can say a bit more about what your custom code does we can probably point you to examples of others who have done very similar!debbyChan57
06/24/2022, 8:34 AMdebbyChan57
06/24/2022, 8:35 AMantony.milne
06/24/2022, 4:27 PMCONFIG_LOADER_CLASS
. It should look something like this:
# 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.user
06/25/2022, 7:36 AMdebbyChan57
06/25/2022, 11:48 AMFlow
07/06/2022, 11:08 AMkradja
07/07/2022, 1:46 PMnoklam
07/07/2022, 1:50 PMnoklam
07/07/2022, 1:50 PM