Zoran
02/06/2023, 5:26 PMdatajoely
02/06/2023, 6:05 PMZoran
02/06/2023, 7:06 PMbefore_dataset_loaded
or you have something other in mind?
i tried to use after_context_created
and tried to add in`CONFIG_LOADER_ARGS`
globals_dict
from parameters but code wouldn't accept thatdatajoely
02/07/2023, 9:48 AMafter_context_created
you have access to the initialised context.catalog
object which you can mutate with pythonZoran
02/07/2023, 10:43 AMdatajoely
02/07/2023, 10:43 AMZoran
02/07/2023, 10:44 AMdatajoely
02/07/2023, 10:46 AMZoran
02/07/2023, 10:48 AMclass MyTemplatedConfigLoader(TemplatedConfigLoader):
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self._config_mapping.update(self.runtime_params)
CONFIG_LOADER_CLASS = MyTemplatedConfigLoader
and it works. But when i run kedro viz i getting error
self._config_mapping.update(self.runtime_params)
TypeError: 'NoneType' object is not iterable
kedro.framework.cli.utils.KedroCliError: 'NoneType' object is not iterable
Run with --verbose to see the full exception
Error: 'NoneType' object is not iterable