Juan Pablo Usuga Cadavid
04/29/2024, 9:01 AMwith KedroSession.create(
project_path=project_root,
extra_params=extra_params,
) as session:
session.run(kedro_pipeline_to_launch)
It seems that the default value for the class `KedroSession`parameter save_on_close
is False
while the default value for the .create
method for the same parameter is set to True
. This is easy to fix as it is just a matter of explicitly passing the parameter, but it seems contradictory.
Is there a reason for keeping these two defaults different?
Thanks!Laura Couto
04/29/2024, 4:26 PMTom McHale
04/29/2024, 4:32 PM%load_ext kedro.ipython
%reload_kedro project_root --env=s3_dev
This creates the global session variable in the notebook and then I use session.run etc. Could be a work around for your issue if it's to do with your method of defining the session?Nok Lam Chan
04/30/2024, 8:38 AMNok Lam Chan
04/30/2024, 8:42 AM