##// END OF EJS Templates
Add kernel_info method to InProcessShellChannel
Christophe Pradal -
Show More
@@ -128,6 +128,12 b' class InProcessShellChannel(InProcessChannel):'
128 # FIXME: What to do here?
128 # FIXME: What to do here?
129 raise NotImplementedError('Cannot shutdown in-process kernel')
129 raise NotImplementedError('Cannot shutdown in-process kernel')
130
130
131 def kernel_info(self):
132 """Request kernel info."""
133 msg = self.client.session.msg('kernel_info_request')
134 self._dispatch_to_kernel(msg)
135 return msg['header']['msg_id']
136
131 #--------------------------------------------------------------------------
137 #--------------------------------------------------------------------------
132 # Protected interface
138 # Protected interface
133 #--------------------------------------------------------------------------
139 #--------------------------------------------------------------------------
General Comments 0
You need to be logged in to leave comments. Login now