Skip to content

Commit 0f8ee04

Browse files
authored
Adds notebook_starts_kernel option to make "canStartKernel" configurable (#248)
1 parent 3c69e80 commit 0f8ee04

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

jupyterlab_server/config.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,9 @@ class LabConfig(HasTraits):
247247
cache_files = Bool(True,
248248
help=('Whether to cache files on the server. '
249249
'This should be `True` except in dev mode.')).tag(config=True)
250+
251+
notebook_starts_kernel = Bool(True,
252+
help='Whether a notebook can start a kernel automatically.').tag(config=True)
250253

251254
@default('template_dir')
252255
def _default_template_dir(self):

0 commit comments

Comments
 (0)