Skip to content

Is it possible to hide active running kernels? #16578

Discussion options

You must be logged in to vote

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.

  • Trigger the onDidChangeServers event so Jupyter extension will see that there's a change
  • In the provideJupyterServers 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…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by DonJayamanne
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants