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

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  

1"""The Jupyter Server""" 

2 

3import os 

4import pathlib 

5 

6DEFAULT_STATIC_FILES_PATH = os.path.join(os.path.dirname(__file__), "static") 

7DEFAULT_TEMPLATE_PATH_LIST = [ 

8 os.path.dirname(__file__), 

9 os.path.join(os.path.dirname(__file__), "templates"), 

10] 

11 

12DEFAULT_JUPYTER_SERVER_PORT = 8888 

13JUPYTER_SERVER_EVENTS_URI = "https://events.jupyter.org/jupyter_server" 

14DEFAULT_EVENTS_SCHEMA_PATH = pathlib.Path(__file__).parent / "event_schemas" 

15 

16from ._version import __version__, version_info 

17from .base.call_context import CallContext 

18 

19__all__ = [ 

20 "DEFAULT_STATIC_FILES_PATH", 

21 "DEFAULT_TEMPLATE_PATH_LIST", 

22 "DEFAULT_JUPYTER_SERVER_PORT", 

23 "JUPYTER_SERVER_EVENTS_URI", 

24 "DEFAULT_EVENTS_SCHEMA_PATH", 

25 "__version__", 

26 "version_info", 

27 "CallContext", 

28]