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
I am creating a Jupyter magic that will create multiple cells. When I run it manually (i.e. Ctrl + Enter), I can create new cells successfully. When I run it programatically, the code get run without error but the cells are not created.
I am trying to create automated test for this feature, thus it is important to execute this in an automated fashion. I wonder how this is tested
importnbformatfromnbconvert.preprocessorsimportExecutePreprocessorep=ExecutePreprocessor(timeout=600, kernel_name="python3")
print(f"Executing Notebook {notebook_filename}")
try:
# Execute the notebook from the same directoryep.preprocess(nb,
{'metadata': {'path': Path(notebook_filename).parent.resolve()}})
I wonder if you have any idea why it doesn't work, or you can give me some pointers to some relevant tests in this repository. Thank you in advance!
The text was updated successfully, but these errors were encountered:
Context
I am creating a Jupyter magic that will create multiple cells. When I run it manually (i.e. Ctrl + Enter), I can create new cells successfully. When I run it programatically, the code get run without error but the cells are not created.
A gif to show how this magic should behave.
See: kedro-org/kedro#3510
I am trying to create automated test for this feature, thus it is important to execute this in an automated fashion. I wonder how this is tested
I wonder if you have any idea why it doesn't work, or you can give me some pointers to some relevant tests in this repository. Thank you in advance!
The text was updated successfully, but these errors were encountered: