Support kedro ipython
for the debugging line magic
#3536
Labels
Component: Jupyter/IPython
Issue/PR relevant for Jupyter Notebooks, IPython sessions and the interactive workflow in Kedro
Milestone
Context
Currently it only support notebook/lab. Add support for IPython, it should also work with
kedro ipython
.It may works slightly different in IPython because it doesn't have the concepts of "cell". Most likely it will be just one big chunk of code, optionally we may exclude the "function body" because it's less useful in this context and most likely user are working with an IDE (e.g. VSCode or Pycharm Python terminal). The developer who pick this up will need to make some decision what format would make most sense and provide better experience for users.
Implementation
get_ipython().set_next_input(s)
might be useful for copying the node code into the notebook.Most of the structure is already implemented in #3510, so we should instead spend more time on thinking what make most sense when working in a IDE/terminal and how would that experience be like. Try to do the same thing with a debugger, how would you put a breakpoint if you suspect a specific dataset is corrupted, what would that process be like?
The text was updated successfully, but these errors were encountered: