jupyterhub / jupyter-server-proxy

Jupyter notebook server extension to proxy web services.
https://jupyter-server-proxy.readthedocs.io
BSD 3-Clause "New" or "Revised" License
354 stars 147 forks source link

fix: missing tornadoimport for rawsocket handler #491

Closed imfing closed 4 months ago

imfing commented 4 months ago

One line fix for a missing import in rawsocket.py

      File "/usr/local/lib/python3.11/site-packages/jupyter_server_proxy/rawsocket.py", line 50, in proxy
        raise web.HTTPError(405, "this raw_socket_proxy backend only supports websocket connections")
              ^^^
    NameError: name 'web' is not defined
yuvipanda commented 4 months ago

Thanks @imfing!