Feature highlight! (from <Top 10 features added to...
# announcements
m
Feature highlight! (from Top 10 features added to the Kedro ecosystem in 2024) Debug nodes inside notebooks 🐛 jupyter Debugging Kedro nodes became a lot easier with the introduction of the debugging line magic `%load_node`for Jupyter Notebook and Jupyter Lab. The
%load_node
line magic allows you to load the contents of a node in your project into a series of notebook cells and run them from there. meow code Brought to you by: @Nok Lam Chan @Laura Couto K Available from: Kedro
0.19.3
📖 Read more: https://docs.kedro.org/en/stable/notebooks_and_ipython/kedro_and_notebooks.html#debugging-a-kedro-project-within-a-notebook
K 6
🎉 6
🚀 3
😍 3
f
wow, i didn't know. All this time i was doing copy paste by myself, extremely useful. Thanks for highlighting this
🙌 2
🙌🏼 1
❤️ 1
n
That's great to hear! 😄
f
Using version
0.19.10
and this does not work for me. I get empty cells, they are created but contents are empty. Any solutions for this? Attached an image to show what i mean. All cells are added by
load_node
magic
n
Seems like there is an issue with new notebook version. If you can downgrade it should fix the issue
@Sajid Alam as I think I saw some PR to fix this but I don’t remember the details
👍 1
s
Hey @Fazil Topal, due to the new feature, "full windowing mode" in
Notebook 7.2.0
it changes how cells are rendered and breaks the
%load_node
command. This will be fixed in an upcoming release but in the meantime you can either downgrade your notebook or use the workaround: We can actually revert to the older behaviour through settings on jupyter notebook, change the “Windowing mode” setting from “full” to “defer.”: 1. Open your Notebook. 2. Go to Settings → Settings Editor → Notebook in the menu. 3. Scroll to “Windowing mode” and choose defer. See comment for more details: https://github.com/kedro-org/kedro/issues/4369#issuecomment-2690842810
🙏 1
thankyou 1
f
Thank you, i'll update it on the next release or downgrade next time i need it.