Leo Cunha
04/19/2023, 11:38 AMkedro run --custom-flag
. I wanted to pass this flag into KedroContext
. Does anyone know how I could do that? p.s If I pass to extra_params
it will complain that this param is not in the config files (I didn't want it to be in the config files)Javier del Villar
04/19/2023, 12:11 PMLeo Cunha
04/19/2023, 12:27 PMJavier del Villar
04/19/2023, 12:40 PMLeo Cunha
04/19/2023, 5:53 PMfrom kedro.framework.project import settings
then I just inserted the flag I needed inside the context class
settings.CONTEXT_CLASS.custom_flag = custom_flag
does it look too hacky?Javier del Villar
04/19/2023, 6:24 PMLeo Cunha
04/19/2023, 6:26 PM