We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I would like a plugin function to create environmental variables.
Motivation is for dask/dask-labextension#183 i.e. set export DASK_DISTRIBUTED__DASHBOARD__LINK=/user/${JUPYTERHUB_USER}/proxy/8787/status
export DASK_DISTRIBUTED__DASHBOARD__LINK=/user/${JUPYTERHUB_USER}/proxy/8787/status
A function in https://github.com/jupyterhub/the-littlest-jupyterhub/blob/main/tljh/hooks.py called tljh_environmnetal_variables'
tljh_environmnetal_variables'
Maybe this can be done currently with https://github.com/jupyterhub/the-littlest-jupyterhub/blob/main/tljh/hooks.py#L69 but not sure how
os.environ["DASK_DISTRIBUTED__DASHBOARD__LINK"] = f"user/{os.getenv('JUPYTERHUB_USER')}/proxy/8787/status"
Not sure if it will persist though
People who want to use the dask lab extension
The text was updated successfully, but these errors were encountered:
Some work here
https://github.com/jupyterhub/the-littlest-jupyterhub/pull/414/files
If that goes could make that conf file plugable?
Sorry, something went wrong.
Done via yaml in z2jh https://zero-to-jupyterhub.readthedocs.io/en/latest/jupyterhub/customizing/user-environment.html#set-environment-variables
No branches or pull requests
I would like a plugin function to create environmental variables.
Motivation is for dask/dask-labextension#183 i.e. set
export DASK_DISTRIBUTED__DASHBOARD__LINK=/user/${JUPYTERHUB_USER}/proxy/8787/status
Proposed change
A function in https://github.com/jupyterhub/the-littlest-jupyterhub/blob/main/tljh/hooks.py called
tljh_environmnetal_variables'
Alternative options
Maybe this can be done currently with https://github.com/jupyterhub/the-littlest-jupyterhub/blob/main/tljh/hooks.py#L69 but not sure how
os.environ["DASK_DISTRIBUTED__DASHBOARD__LINK"] = f"user/{os.getenv('JUPYTERHUB_USER')}/proxy/8787/status"
Not sure if it will persist though
Who would use this feature?
People who want to use the dask lab extension
(Optional): Suggest a solution
The text was updated successfully, but these errors were encountered: