mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-17 06:52:59 +00:00
pass requesting handler to spawner
allows Spawners to implement logic such as processing GET params to select inputs USE WITH CARE because this gives authors of links the ability to pass parameters to spawn without user knowledge or input. This should only be used for things like selecting from a list of all known-good choices, e.g. a profile list.
This commit is contained in:
@@ -602,7 +602,7 @@ class BaseHandler(RequestHandler):
|
||||
|
||||
self.log.debug("Initiating spawn for %s", user_server_name)
|
||||
|
||||
spawn_future = user.spawn(server_name, options)
|
||||
spawn_future = user.spawn(server_name, options, handler=self)
|
||||
|
||||
self.log.debug("%i%s concurrent spawns",
|
||||
spawn_pending_count,
|
||||
|
Reference in New Issue
Block a user