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

Provide a way of changing the default service prefix /services/nbexchange/ for plugins #170

Open
ykazakov opened this issue Sep 24, 2024 · 0 comments

Comments

@ykazakov
Copy link

ykazakov commented Sep 24, 2024

According to README, the extension point on which the nbexchange service is running can be configured by setting the environment variable JUPYTERHUB_SERVICE_PREFIX. (Is it intended for use with JupyterHub?)

However, for nbgrader plugins, this path seems to be hardcoded:

def service_url(self):
this_url = urljoin(self.base_service_url, "/services/nbexchange/")
self.log.debug(f"service_url: {this_url}")
return this_url

Please provide a convenient way of changing this value. Preferably as a configuration option that can be set in nbgrader_config.py similarly as for setting up the exchange.

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

1 participant