We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5e55bb commit e6d4bfaCopy full SHA for e6d4bfa
batchspawner/singleuser.py
@@ -1,3 +1,4 @@
1
+import os
2
import sys
3
4
from runpy import run_path
@@ -9,6 +10,9 @@
9
10
def main(argv=None):
11
port = random_port()
12
hub_auth = HubAuth()
13
+ hub_auth.client_ca = os.environ.get('JUPYTERHUB_SSL_CLIENT_CA', '')
14
+ hub_auth.certfile = os.environ.get('JUPYTERHUB_SSL_CERTFILE', '')
15
+ hub_auth.keyfile = os.environ.get('JUPYTERHUB_SSL_KEYFILE', '')
16
hub_auth._api_request(method='POST',
17
url=url_path_join(hub_auth.api_url, 'batchspawner'),
18
json={'port' : port})
0 commit comments