-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
%run_viz Jupyter line magic inconsistency #1823
Comments
If we succeed in #1993, maybe |
Yes, it might be in future. As of now #1993 focusses on simple pipeline objects rather than full blown kedro project. Since we are injecting json data into the html, we need to consider -
Thank you |
Let's check if this is still the case after #2052 was addressed in 10.1.0 |
Hi Team, The issue is still there but it is a quick fix (work from @SajidAlamQB fix) with Issue still there in notebook as the fix was only added to I will raise a quick PR now (hopefully we can merge before release) Thank you |
Description
Tried executing %run_viz line magic on Jupyter notebook to test
--inlcude-hooks
option, while the command gets passed appropriately, Open Viz link appears even before considering the flag. This shows, we are not terminating the previous session.This inconsistency was also detected during #1733
The image above is from a debug session using print statements placed at -
kedro_viz/launchers/jupyter.py
line 120kedro_viz/launchers/jupyter.py
line 133kedro_viz/integrations/kedro/data_loader.py
line 99Context
I am not an expert in using Jupyter notebook but when I execute
%run_viz
line magic with differing options, each execution box should take in the options before restarting the viz server. Currently, we check if the viz is up and we show the Open Kedro Viz link which has a stale session.Steps to Reproduce
kedro jupyter notebook
%run_viz
%run_viz --ignore-hooks
or any other option and debug it using print statementsActual Result
Your Environment
Include as many relevant details as possible about the environment you experienced the bug in:
Checklist
The text was updated successfully, but these errors were encountered: