forked from jupyter-server/jupyter_server
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use server-mode option to expose types of servers
These changes use a new option `--server-mode` to indicate which mode the server will run in. The available modes are 'notebooks' (default), 'kernels' and 'contents'. The current behavior is exhibited with 'notebooks'. However, when either 'kernels' or 'contents' are indicated, only the services (REST API) relative to those modes will be available. Because all modes are implemented in the same class, this approache (vs. subclassing) shouldn't side-affect the ability for server extensions to be written against the various modes.
- Loading branch information
1 parent
7a6cd8e
commit f7d1638
Showing
3 changed files
with
69 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters