__init__.py 589 B

12345678910111213141516171819202122
  1. """Server extension for JupyterLab."""
  2. # Copyright (c) Jupyter Development Team.
  3. # Distributed under the terms of the Modified BSD License.
  4. from ._version import __version__ # noqa
  5. from .serverextension import load_jupyter_server_extension # noqa
  6. from .handlers.announcements import (
  7. CheckForUpdate, # noqa
  8. CheckForUpdateABC, # noqa
  9. NeverCheckForUpdate, # noqa
  10. )
  11. def _jupyter_server_extension_paths():
  12. return [{"module": "jupyterlab"}]
  13. def _jupyter_server_extension_points():
  14. from .labapp import LabApp
  15. return [{"module": "jupyterlab", "app": LabApp}]