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

question: this wouldn't work with jupyterlab, would it? #1

Open
yarikoptic opened this issue Feb 28, 2020 · 1 comment
Open

question: this wouldn't work with jupyterlab, would it? #1

yarikoptic opened this issue Feb 28, 2020 · 1 comment

Comments

@yarikoptic
Copy link

there seems to be no direct url to the notebook, and a "path" in the url to the notebook is routed to command to just open that notebook: https://jupyterlab.readthedocs.io/en/stable/user/urls.html . An evil attempt to urlencode options to pass into the notebook filename sure thing results in the message that notebook isn't found. I wondered if you by any chance is aware of some workaround? ;)

@manics
Copy link
Owner

manics commented Mar 8, 2020

@yarikoptic I can't think of a good way to prevent arbitrary code execution, especially as you might want to pass a objects such as dicts or arrays, and ideally you wouldn't want to be restricted to python.

In principle it could be made to work with Jupyterlab but it's a lot more complicated than this simple notebook extension. Since JupyterLab is an IDE it's not as simple as just passing parameters in the current browser window, you'd need to go through JupyterLab to get the current notebook (presumably loaded by , wait for it to load, then add the parameters cell.

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

No branches or pull requests

2 participants