File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 1+ """Initialize the backend server extension
12"""
2- Initialize the backend server extension
3- """
3+ # need this in order to show version in `jupyter serverextension list`
4+ from ._version import __version__
5+
46from jupyterlab_git .handlers import setup_handlers
57from jupyterlab_git .git import Git
68
79
810def _jupyter_server_extension_paths ():
9- """
10- Declare the Jupyter server extension paths.
11+ """Declare the Jupyter server extension paths.
1112 """
1213 return [{"module" : "jupyterlab_git" }]
1314
1415
1516def load_jupyter_server_extension (nbapp ):
16- """
17- Load the Jupyter server extension.
17+ """Load the Jupyter server extension.
1818 """
1919 git = Git (nbapp .web_app .settings ['contents_manager' ])
2020 nbapp .web_app .settings ["git" ] = git
You can’t perform that action at this time.
0 commit comments