Skip to content
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

Please add proposed API for opening a new notebook that uses a specific kernelspec on a specific kernel #16225

Open
gjsjohnmurray opened this issue Nov 15, 2024 · 2 comments
Assignees
Labels
api-proposal feature-request Request for new features or functionality

Comments

@gjsjohnmurray
Copy link
Contributor

To visualize my goal, imagine adding "Create Interactive Window" and "Create Jupyter Notebook" buttons on the Kernel Specifications rows of your Jupyter Powertoys extension:

Image

I know the baseUrl of the kernel and the name of the kernelSpec but what I need to pass to your openNotebook function (currently defined in api.unstable.d.ts) is the id of the matching internal kernelConnectionMetadata item. Per the discussion in #16221 you do not want me to go via getKernelService (also unstable API) to obtain kernelConnectionMetadata.id

@gjsjohnmurray gjsjohnmurray added the feature-request Request for new features or functionality label Nov 15, 2024
@DonJayamanne
Copy link
Contributor

@gjsjohnmurray would adding this functionality in the powertoys extension be sufficient?
Or did you want to utilize such an API in your extension?
Please could you share the use case or scenario? thanks

@DonJayamanne DonJayamanne added info-needed Issue requires more information from poster notebook-execution Kernels issues (start/restart/switch/execution, install ipykernel) labels Dec 11, 2024
@gjsjohnmurray
Copy link
Contributor Author

I work on the InterSystems Server Manager extension which lets users of the InterSystems IRIS platforms browse their server definitions and open workspaces onto them. I want our Jupyter Server Proxy extension to be able to contribute an action button to namespaces on servers in the Server Manager tree, allowing a user to quickly create a new notebook into a namespace.

@DonJayamanne DonJayamanne added api-proposal and removed info-needed Issue requires more information from poster notebook-execution Kernels issues (start/restart/switch/execution, install ipykernel) labels Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api-proposal feature-request Request for new features or functionality
Projects
None yet
Development

No branches or pull requests

2 participants