##// END OF EJS Templates
Merge pull request #2340 from JanSchulz/client-clear-cache...
Merge pull request #2340 from JanSchulz/client-clear-cache Initial Code to reduce parallel.Client caching adds: client.purge_local_results client.purge_hub_results client.purge_results (does both above) client.purge_everything (includes history, etc.)

File last commit:

r8456:346e7abc
r9153:9d021a36 merge
Show More
kernelmanager.py
32 lines | 1.0 KiB | text/x-python | PythonLexer
""" Defines a KernelManager that provides signals and slots.
"""
# Local imports.
from IPython.utils.traitlets import Type
from IPython.zmq.kernelmanager import ShellSocketChannel, SubSocketChannel, \
StdInSocketChannel, HBSocketChannel, KernelManager
from base_kernelmanager import QtShellChannelMixin, QtSubChannelMixin, \
QtStdInChannelMixin, QtHBChannelMixin, QtKernelManagerMixin
class QtShellSocketChannel(QtShellChannelMixin, ShellSocketChannel):
pass
class QtSubSocketChannel(QtSubChannelMixin, SubSocketChannel):
pass
class QtStdInSocketChannel(QtStdInChannelMixin, StdInSocketChannel):
pass
class QtHBSocketChannel(QtHBChannelMixin, HBSocketChannel):
pass
class QtKernelManager(QtKernelManagerMixin, KernelManager):
""" A KernelManager that provides signals and slots.
"""
sub_channel_class = Type(QtSubSocketChannel)
shell_channel_class = Type(QtShellSocketChannel)
stdin_channel_class = Type(QtStdInSocketChannel)
hb_channel_class = Type(QtHBSocketChannel)