Is it possible to hide active running kernels? #16578
-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
If you're using the Jupyter extension API, then its upto the extension author to notify the Jupyter extension about what connections are no longer valid.
If in your case all notebooks connect to the same server, but each has their own kernel, and you want to just hide all kernels except one, then the only way i guess is to modify your server implementation to not return the live Kernel sessions. TLDR there's no way to do this via the Jupyter Extension API nor the UI today. btw, what extension are you using that provides these kernels? Is it the Synapse Extension? |
Beta Was this translation helpful? Give feedback.
If you're using the Jupyter extension API, then its upto the extension author to notify the Jupyter extension about what connections are no longer valid.
onDidChangeServers
event so Jupyter extension will see that there's a changeprovideJupyterServers
ensure the older/invalid servers are no longer returned.If in your case all notebooks connect to the same server, but each has their own kernel, and you want to just hide all kernels except one, then the only way i guess is to modify your server implementation to not return the live Kernel sessions.
TLDR there's no way to do this via the Jupyter Extension API nor the UI today.
btw, what extension are you using that pro…