Show More
@@ -495,7 +495,20 b' class NotebookApp(BaseIPythonApplication):' | |||
|
495 | 495 | |
|
496 | 496 | notebook_manager_class = DottedObjectName('IPython.html.services.notebooks.filenbmanager.FileNotebookManager', |
|
497 | 497 | config=True, |
|
498 |
help='The notebook manager class to use.' |
|
|
498 | help='The notebook manager class to use.' | |
|
499 | ) | |
|
500 | kernel_manager_class = DottedObjectName('IPython.html.services.kernels.kernelmanager.MappingKernelManager', | |
|
501 | config=True, | |
|
502 | help='The kernel manager class to use.' | |
|
503 | ) | |
|
504 | session_manager_class = DottedObjectName('IPython.html.services.sessions.sessionmanager.SessionManager', | |
|
505 | config=True, | |
|
506 | help='The session manager class to use.' | |
|
507 | ) | |
|
508 | cluster_manager_class = DottedObjectName('IPython.html.services.clusters.clustermanager.ClusterManager', | |
|
509 | config=True, | |
|
510 | help='The cluster manager class to use.' | |
|
511 | ) | |
|
499 | 512 | |
|
500 | 513 | trust_xheaders = Bool(False, config=True, |
|
501 | 514 | help=("Whether to trust or not X-Scheme/X-Forwarded-Proto and X-Real-Ip/X-Forwarded-For headers" |
@@ -574,14 +587,17 b' class NotebookApp(BaseIPythonApplication):' | |||
|
574 | 587 | def init_configurables(self): |
|
575 | 588 | # force Session default to be secure |
|
576 | 589 | default_secure(self.config) |
|
577 | self.kernel_manager = MappingKernelManager( | |
|
590 | kls = import_item(self.kernel_manager_class) | |
|
591 | self.kernel_manager = kls( | |
|
578 | 592 | parent=self, log=self.log, kernel_argv=self.kernel_argv, |
|
579 | 593 | connection_dir = self.profile_dir.security_dir, |
|
580 | 594 | ) |
|
581 | 595 | kls = import_item(self.notebook_manager_class) |
|
582 | 596 | self.notebook_manager = kls(parent=self, log=self.log) |
|
583 | self.session_manager = SessionManager(parent=self, log=self.log) | |
|
584 |
self. |
|
|
597 | kls = import_item(self.session_manager_class) | |
|
598 | self.session_manager = kls(parent=self, log=self.log) | |
|
599 | kls = import_item(self.cluster_manager_class) | |
|
600 | self.cluster_manager = kls(parent=self, log=self.log) | |
|
585 | 601 | self.cluster_manager.update_profiles() |
|
586 | 602 | |
|
587 | 603 | def init_logging(self): |
General Comments 0
You need to be logged in to leave comments.
Login now