##// END OF EJS Templates
Make InProcessKernelManager a Configurable.
Brian Granger -
Show More
@@ -12,9 +12,9 b''
12 12 #-----------------------------------------------------------------------------
13 13
14 14 # Local imports.
15 from IPython.config.loader import Config
15 from IPython.config.configurable import Configurable
16 16 from IPython.inprocess.socket import DummySocket
17 from IPython.utils.traitlets import HasTraits, Any, Instance, Type
17 from IPython.utils.traitlets import Any, Instance, Type
18 18 from IPython.zmq.kernelmanagerabc import (
19 19 ShellChannelABC, IOPubChannelABC,
20 20 HBChannelABC, StdInChannelABC,
@@ -295,15 +295,13 b' class InProcessHBChannel(InProcessChannel):'
295 295 # Main kernel manager class
296 296 #-----------------------------------------------------------------------------
297 297
298 class InProcessKernelManager(HasTraits):
298 class InProcessKernelManager(Configurable):
299 299 """ A manager for an in-process kernel.
300 300
301 301 This class implements most of the interface of
302 302 ``IPython.zmq.kernelmanager.KernelManager`` and allows (asynchronous)
303 303 frontends to be used seamlessly with an in-process kernel.
304 304 """
305 # Config object for passing to child configurables
306 config = Instance(Config)
307 305
308 306 # The Session to use for building messages.
309 307 session = Instance('IPython.zmq.session.Session')
General Comments 0
You need to be logged in to leave comments. Login now