Skip to content

Commit

Permalink
add notebook extension to jupyter extension paths
Browse files Browse the repository at this point in the history
  • Loading branch information
Zsailer committed Jun 3, 2019
1 parent 1a79178 commit ba0bbf5
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions notebook/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,12 @@

from .nbextensions import install_nbextension
from ._version import version_info, __version__

from .notebookapp import NotebookApp

EXTENSION_NAME = "notebook"

def _jupyter_server_extension_paths():
return [{"module": EXT_NAME}]

This comment has been minimized.

Copy link
@blink1073

blink1073 Jun 3, 2019

Contributor

should be EXTENSION_NAME?

This comment has been minimized.

Copy link
@Zsailer

Zsailer Jun 3, 2019

Author Member

Oops, yes it should. Good catch!


load_jupyter_server_extension = NotebookApp.load_jupyter_server_extension

0 comments on commit ba0bbf5

Please sign in to comment.