Skip to content

Commit

Permalink
Merge pull request #148 from casparvl/backwards_compat
Browse files Browse the repository at this point in the history
Define _jupyter_server_extension_paths for backward compatibility
  • Loading branch information
jtpio authored Oct 5, 2022
2 parents 186b1fa + 8ed8b8d commit f2366db
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion jupyter_resource_usage/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,6 @@ def _jupyter_nbextension_paths():
]


load_jupyter_server_extension = load_jupyter_server_extension
# For backward compatibility
_load_jupyter_server_extension = load_jupyter_server_extension
_jupyter_server_extension_paths = _jupyter_server_extension_points

0 comments on commit f2366db

Please sign in to comment.