Skip to content

Commit

Permalink
Merge pull request #187 from datalayer-externals/fix/server-handlers-…
Browse files Browse the repository at this point in the history
…import

Fix the jupyter server base.handlers import
  • Loading branch information
echarles authored Nov 29, 2022
2 parents de08042 + f984972 commit 99cb347
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nbclassic/shim_notebook.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,5 +82,6 @@ def shim_notebook():
from jupyter_server import utils
sys.modules["notebook.utils"] = utils

base.handlers.IPythonHandler = base.handlers.JupyterHandler
from jupyter_server.base import handlers
base.handlers.IPythonHandler = handlers.JupyterHandler
sys.modules["notebook.base.handlers.IPythonHandler"] = base.handlers.JupyterHandler

0 comments on commit 99cb347

Please sign in to comment.