diff --git a/examples/service-fastapi/app/client.py b/examples/service-fastapi/app/client.py index 6f401f0b..e31d5ebc 100644 --- a/examples/service-fastapi/app/client.py +++ b/examples/service-fastapi/app/client.py @@ -3,9 +3,7 @@ import os import httpx -### For consideration: turn this into a class with -### feature parity for HubAuth, or even subclass HubAuth? -### See jupyterhub.services.auth.HubAuth for details +# a minimal alternative to using HubOAuth class def get_client(): base_url = os.environ["JUPYTERHUB_API_URL"] token = os.environ["JUPYTERHUB_API_TOKEN"]