Add the jupyterhub-configurator service

This commit is contained in:
GeorgianaElena
2021-04-01 14:26:54 +03:00
parent 17162cb93b
commit 32e0f99c3c
6 changed files with 61 additions and 7 deletions

View File

@@ -2,8 +2,9 @@ from tljh.normalize import generate_system_username
from tljh import user
from systemdspawner import SystemdSpawner
from traitlets import Dict, Unicode, List
from jupyterhub_configurator.mixins import ConfiguratorSpawnerMixin
class UserCreatingSpawner(SystemdSpawner):
class UserCreatingSpawner(ConfiguratorSpawnerMixin, SystemdSpawner):
"""
SystemdSpawner with user creation on spawn.