R P
03/21/2023, 7:09 PMkedro run --env=test
when I need to run a quick pipeline check. However, I have some code in my "settings.py" file that I must not run when I'm using the "conf/test" env, but I'm not managing to get this environment information in the "settings.py" code so I can write a simple if/else condition. What is the best way to do this?
Thanks for this awesome open-source tool!Javier del Villar
03/21/2023, 7:30 PMTempleatedConfigLoader
in hooks.py
in kedro >= 0.18 you need to create a thin layer over the TempleatedConfigLoader
class to catch that CLI param. https://github.com/kedro-org/kedro/issues/1527#issuecomment-1127697871datajoely
03/21/2023, 7:54 PMR P
03/21/2023, 8:28 PM