Skip to content

Commit 5201449

Browse files
author
Gwen
committed
Add reservation option.
1 parent c0da1f3 commit 5201449

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

batchspawner/batchspawner.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -513,6 +513,10 @@ class SlurmSpawner(UserEnvMixin,BatchSpawnerRegexStates):
513513
help="QoS name to submit job to resource manager"
514514
).tag(config=True)
515515

516+
req_reservation = Unicode('', \
517+
help="Reservation name to submit to resource manager"
518+
).tag(config=True)
519+
516520
batch_script = Unicode("""#!/bin/bash
517521
#SBATCH --output={{homedir}}/jupyterhub_slurmspawner_%j.log
518522
#SBATCH --job-name=spawner-jupyterhub

0 commit comments

Comments
 (0)