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

Parameterized kernel specs #1431

Draft
wants to merge 20 commits into
base: main
Choose a base branch
from

Conversation

AnastasiaSliusar
Copy link

@AnastasiaSliusar AnastasiaSliusar commented Jun 12, 2024

References

This work is in progress as JEP jupyter/enhancement-proposals#87.
This PR should be reviewed when the JEP has been accepted

Code changes

This PR includes support of custom_kernel_specs variable that is used to setup custom kernel specs before running a kernel.

This custom_kernel_specs includes kernel parameters which a user has selected from a kernel dialog on JupyterLab

How to use

@@ -3025,6 +3039,12 @@ def start_app(self) -> None:
# Handle the browser opening.
if self.open_browser and not self.sock:
self.launch_browser()
if self.allow_insecure_kernelspec_params:
print("yesssssssssssssssss")

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

delete this code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants