Skip to content

Commit 8ed8b8d

Browse files
committed
Fix #91 by defining _load_jupyter_server_extension for further backward compatibility (see https://jupyter-server.readthedocs.io/en/latest/developers/extensions.html#migrating-an-extension-to-use-jupyter-server)
1 parent 186b1fa commit 8ed8b8d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

jupyter_resource_usage/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,6 @@ def _jupyter_nbextension_paths():
3535
]
3636

3737

38-
load_jupyter_server_extension = load_jupyter_server_extension
38+
# For backward compatibility
39+
_load_jupyter_server_extension = load_jupyter_server_extension
40+
_jupyter_server_extension_paths = _jupyter_server_extension_points

0 commit comments

Comments
 (0)