Should I do a pull request?
On Friday, March 16, 2018 at 3:00:09 PM UTC-4, Michael Milligan wrote:
>
> Yes, in general that's the correct idiom. You probably need to explicitly
> import your base class though (i.e. add "import batchspawner.LsfSpawner"
> before you declare your subclass).
>
>
Yes, in general that's the correct idiom. You probably need to explicitly
import your base class though (i.e. add "import batchspawner.LsfSpawner"
before you declare your subclass).
That said, both of those req_* options look like good candidates for adding
to the base class, especially since
Thanks!
I have a potential addition to my config file. I had to subclass the
LsfSpawner class because it appears incomplete and doesn't have all of the
options required for our cluster. Does this look right?
c.JupyterHub.spawner_class = 'wrapspawner.ProfilesSpawner'
c.Spawner.http_timeout =
Hi Brian -
It is possible, and it sounds like you already mostly have the solution!
The example config at the end of the batchspawner README should be roughly
what you want, except that you will use the SudoSpawner instead of
LocalProcessSpawner. Specifically, you need to install all of the
As I understand it, I need to use some combination of wrapspawner,
localspawner, sudospawner and batchspawner. I want to run jupyterhub as an
unprivileged user, but the admins are happy to edit the sudoers file to
make it work. What I'd like to do is give users in my lab a choice to start
on