server.py 663 B

123456789101112131415161718192021
  1. # Copyright (c) Jupyter Development Team.
  2. # Distributed under the terms of the Modified BSD License.
  3. """Server api."""
  4. # FIXME TODO Deprecated remove this file for the next major version
  5. # Downstream package must import those items from `jupyter_server` directly
  6. from jupyter_server import _tz as tz
  7. from jupyter_server.base.handlers import (
  8. APIHandler,
  9. FileFindHandler,
  10. JupyterHandler,
  11. json_errors,
  12. )
  13. from jupyter_server.extension.serverextension import (
  14. GREEN_ENABLED,
  15. GREEN_OK,
  16. RED_DISABLED,
  17. RED_X,
  18. )
  19. from jupyter_server.serverapp import ServerApp, aliases, flags
  20. from jupyter_server.utils import url_escape, url_path_join