-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path__init__.py
More file actions
30 lines (21 loc) · 732 Bytes
/
__init__.py
File metadata and controls
30 lines (21 loc) · 732 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
__version__ = "0.1.0"
def _jupyter_server_extension_paths():
return [{"module": "python_template_jupyter"}]
def _jupyter_server_extension_points():
return [{"module": "python_template_jupyter"}]
def _load_jupyter_server_extension(nb_server_app, nb6_entrypoint=False):
"""
Called when the extension is loaded.
Args:
nb_server_app (NotebookWebApplication): handle to the Notebook webserver instance.
"""
# web_app = nb_server_app.web_app
def _jupyter_nbextension_paths():
return [
{
"section": "tree",
"src": "nbextension/static",
"dest": "python_template_jupyter",
"require": "python_template_jupyter/notebook",
}
]