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

Skipping API call #235

Open
dg-data opened this issue May 14, 2021 · 2 comments
Open

Skipping API call #235

dg-data opened this issue May 14, 2021 · 2 comments

Comments

@dg-data
Copy link

dg-data commented May 14, 2021

One server API call is made during initialisation to obtain the storage configuration.

If someone wants to use it in other container-based environment than Binderhub, it will not work without the offlinenotebook/config endpoint. A really offline approach would be using the config file only and omitting the server call in this case.

@manics
Copy link
Owner

manics commented May 17, 2021

Hi! Would you mind explaining your use case a bit more? If you're running your container locally this extension doesn't offer you much since you can just save/download your notebook in the usual way. It does make an API call, but that doesn't require JupyterHub/BinderHub, it's a jupyter-server extension so should always be present when you first start up JupyterLab.

@dg-data
Copy link
Author

dg-data commented May 19, 2021

I try to use your extension in a preconfigured container where I can't setup anything server side. I tried the extension on MyBinder where works, basically reads the Binder specific enviroment variables on startup. In my case I need the save/restore functionality in Jupyterlab (like your version 0.0.2 in Notebook), without any call to jupyter-server for the four Binder variable, because in my environment the API endpoint is unreachable.
Thanks your consideration!

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