From f13bd59f6f6b32df3fa112fbff60ca295024af3e Mon Sep 17 00:00:00 2001 From: Dan Allan Date: Tue, 1 Oct 2019 16:13:29 -0400 Subject: [PATCH] Expose spawner.user_options in REST API. --- jupyterhub/apihandlers/base.py | 1 + 1 file changed, 1 insertion(+) diff --git a/jupyterhub/apihandlers/base.py b/jupyterhub/apihandlers/base.py index 600876cd..d59cfb12 100644 --- a/jupyterhub/apihandlers/base.py +++ b/jupyterhub/apihandlers/base.py @@ -141,6 +141,7 @@ class APIHandler(BaseHandler): 'ready': spawner.ready, 'state': spawner.get_state() if include_state else None, 'url': url_path_join(spawner.user.url, spawner.name, '/'), + 'user_options': spawner.user_options, 'progress_url': spawner._progress_url, }