##// END OF EJS Templates
KM.client creates a client with a shared Session
MinRK -
Show More
@@ -91,6 +91,8 b' class KernelManager(LoggingConfigurable, ConnectionFileMixin):'
91 _launch_args = Any()
91 _launch_args = Any()
92 _control_socket = Any()
92 _control_socket = Any()
93
93
94 _restarter = Any()
95
94 autorestart = Bool(False, config=True,
96 autorestart = Bool(False, config=True,
95 help="""Should we autorestart the kernel if it dies."""
97 help="""Should we autorestart the kernel if it dies."""
96 )
98 )
@@ -120,7 +122,11 b' class KernelManager(LoggingConfigurable, ConnectionFileMixin):'
120
122
121 kw = {}
123 kw = {}
122 kw.update(self.get_connection_info())
124 kw.update(self.get_connection_info())
123 kw['connection_file'] = self.connection_file
125 kw.update(dict(
126 connection_file=self.connection_file,
127 session=self.session,
128 config=self.config,
129 ))
124
130
125 # add kwargs last, for manual overrides
131 # add kwargs last, for manual overrides
126 kw.update(kwargs)
132 kw.update(kwargs)
General Comments 0
You need to be logged in to leave comments. Login now