Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.8/site-packages/notebook/__init__.py: 60%

Shortcuts on this page

r m x   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

10 statements  

1from __future__ import annotations 

2 

3from typing import Any 

4 

5from ._version import __version__, version_info # noqa: F401 

6 

7 

8def _jupyter_server_extension_paths() -> list[dict[str, str]]: 

9 return [{"module": "notebook"}] 

10 

11 

12def _jupyter_server_extension_points() -> list[dict[str, Any]]: 

13 from .app import JupyterNotebookApp 

14 

15 return [{"module": "notebook", "app": JupyterNotebookApp}] 

16 

17 

18def _jupyter_labextension_paths() -> list[dict[str, str]]: 

19 return [{"src": "labextension", "dest": "@jupyter-notebook/lab-extension"}]