You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The image above is from a debug session using print statements placed at -
run_viz function at kedro_viz/launchers/jupyter.py line 120
checked if viz is up for the second run by placing a print statement at kedro_viz/launchers/jupyter.py line 133
placed a print statement in load_data function at kedro_viz/integrations/kedro/data_loader.py line 99
Context
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
Setup Kedro Viz and have a Kedro Project
Execute kedro jupyter notebook
Create a notebook and execute %run_viz
It takes some time and gives you a link to open kedro viz
Try executing %run_viz --ignore-hooks or any other option and debug it using print statements
The link to open kedro viz appears instantly, without restarting the server with new arguments
Actual Result
Your Environment
Include as many relevant details as possible about the environment you experienced the bug in:
Web browser system and version: Chrome/Safari
Operating system and version: macOS
NodeJS version used (if relevant):
Kedro version used (if relevant):
Python version used (if relevant):
Checklist
Include labels so that we can categorise your issue
The text was updated successfully, but these errors were encountered:
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: