Skip to content

Commit

Permalink
Link to GitHub for references to other packages
Browse files Browse the repository at this point in the history
  • Loading branch information
jwindgassen committed Dec 3, 2024
1 parent 2d737bd commit 45132b0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion jupyter_server_proxy/standalone/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from __future__ import annotations # For Python 3.8 compatibility
from __future__ import annotations # Allows type subscripts (like tuple[str, int]) in Python 3.8

import argparse
import logging
Expand Down
2 changes: 1 addition & 1 deletion jupyter_server_proxy/standalone/activity.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
async def notify_activity():
"""
Regularly notify JupyterHub of activity.
See `jupyrehub/singleuser/extensions#L396`
See https://github.com/jupyterhub/jupyterhub/blob/4.x/jupyterhub/singleuser/extension.py#L389
"""

client = httpclient.AsyncHTTPClient()
Expand Down
4 changes: 2 additions & 2 deletions jupyter_server_proxy/standalone/proxy.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from __future__ import annotations # For Python 3.8 compatibility
from __future__ import annotations # Allows type subscripts (like tuple[str, int]) in Python 3.8

import os
import re
Expand Down Expand Up @@ -81,7 +81,7 @@ def get_timeout(self):


def configure_ssl():
# See jupyter_server/serverapp:init_webapp
# See https://github.com/jupyter-server/jupyter_server/blob/v2.0.0/jupyter_server/serverapp.py#L2053-L2073
keyfile = os.environ.get("JUPYTERHUB_SSL_KEYFILE", "")
certfile = os.environ.get("JUPYTERHUB_SSL_CERTFILE", "")
client_ca = os.environ.get("JUPYTERHUB_SSL_CLIENT_CA", "")
Expand Down

0 comments on commit 45132b0

Please sign in to comment.