-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
Can notebooks connect to a kernel together? #5140
Comments
This is very easy to do in JupyterLab (open both notebooks, switch the kernel in one to point to the kernel of the other). It is very hard in classic notebook, since each notebook launches its own kernel session, and it does not provide an option in the GUI to select a kernel that is already running. |
I currently use the enterprise gateway, and I found that when the notebook is connected to the kernel, a request to /api/kernel/${kernel_id} is sent. Can the notebook fix this kernel_id through configuration? |
Hi team, |
@akashd11 I think you may be interested in the subshells, see:
Once this this is merged you will be able to have two subshells for the same kernel, sharing the variables but performing execution independently. I believe that only the latest pre-release of ipykernel supports subshells as of today. |
I have 2 notebooks. I want to share variables between two notebooks. How can I connect the kernels of the two notebooks to the same one?
The text was updated successfully, but these errors were encountered: