mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-16 06:22:59 +00:00
Expose spawner.user_options in REST API.
This commit is contained in:
@@ -141,6 +141,7 @@ class APIHandler(BaseHandler):
|
|||||||
'ready': spawner.ready,
|
'ready': spawner.ready,
|
||||||
'state': spawner.get_state() if include_state else None,
|
'state': spawner.get_state() if include_state else None,
|
||||||
'url': url_path_join(spawner.user.url, spawner.name, '/'),
|
'url': url_path_join(spawner.user.url, spawner.name, '/'),
|
||||||
|
'user_options': spawner.user_options,
|
||||||
'progress_url': spawner._progress_url,
|
'progress_url': spawner._progress_url,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user