File: server.py

package info (click to toggle)
jupyterlab-server 2.25.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 676 kB
  • sloc: python: 3,454; makefile: 13; sh: 2
file content (21 lines) | stat: -rw-r--r-- 663 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Copyright (c) Jupyter Development Team.
# Distributed under the terms of the Modified BSD License.

"""Server api."""
# FIXME TODO Deprecated remove this file for the next major version
#   Downstream package must import those items from `jupyter_server` directly
from jupyter_server import _tz as tz
from jupyter_server.base.handlers import (
    APIHandler,
    FileFindHandler,
    JupyterHandler,
    json_errors,
)
from jupyter_server.extension.serverextension import (
    GREEN_ENABLED,
    GREEN_OK,
    RED_DISABLED,
    RED_X,
)
from jupyter_server.serverapp import ServerApp, aliases, flags
from jupyter_server.utils import url_escape, url_path_join