-
Notifications
You must be signed in to change notification settings - Fork 308
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
Extension for POST Execute cell #1123
Comments
This looks very promising, thank you for your work! |
Sorry guys, I don't have time to work on Jupyter related things anymore due to a change in work. I've put my thoughts here, and you can also use the same issue to get an idea of what the Jupyter-server project team is doing at the moment. I'll keep an eye on the this in my spare time, feel free to invite me to any relevant discussions as well. Issue: #1274 Thank you all! |
Problem
Jupyter has been plaguing us with the problem of saving code output using the front-end for too long.
There is a lot of discussion about this here
jupyterlab/jupyterlab#12455
jupyterlab/jupyterlab#12867
jupyterlab/jupyterlab#2833
jupyter/notebook#641
Proposed Solution
Thanks to contributors, with JupyterLab 4.0 using y-crdt related features, we already have the ability to read changes from files, and the next step is to let the Jupyter server take over the responsibility of writing code execution results.
To validate this idea, I implemented a simple generic client based on the websocket interface (I tried using
jupyter_client
's zmq interface, but it was hard to use), and then implemented a plugin with fileid support to implement this functionality.client: https://github.com/Wh1isper/jupyter_kernel_client
extension: https://github.com/Wh1isper/jupyter_kernel_executor
Time is short, there is still a lot of content not perfect, looking forward to your suggestions
Additional context
I was inspired by the following projects and issues
#900
https://github.com/jupyter-server/jupyverse/
https://github.com/jupyter-server/jupyter_server_fileid
https://github.com/jupyter/nbformat
The text was updated successfully, but these errors were encountered: