notebook/jupyterlab_classic/serverextension.py
2020-12-04 15:15:41 +02:00

11 lines
302 B
Python

from .app import ClassicApp
def load_jupyter_server_extension(serverapp):
extension = ClassicApp()
extension.serverapp = serverapp
extension.load_config_file()
extension.update_config(serverapp.config)
extension.parse_command_line(serverapp.extra_args)
extension.initialize()