Skip to content

Commit 70f4992

Browse files
committed
Change recommendation how to setup batchspawner (see issues #129 and #126)
1 parent b088e2d commit 70f4992

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@ This package formerly included WrapSpawner and ProfilesSpawner, which provide me
1717
2. add lines in jupyterhub_config.py for the spawner you intend to use, e.g.
1818

1919
```python
20+
import batchspawner
21+
2022
c = get_config()
21-
c.JupyterHub.extra_handlers = [(r"/api/batchspawner", 'batchspawner.api.BatchSpawnerAPIHandler')]
2223
c.JupyterHub.spawner_class = 'batchspawner.TorqueSpawner'
2324
```
2425
3. Depending on the spawner, additional configuration will likely be needed.

0 commit comments

Comments
 (0)