Show More
@@ -86,6 +86,7 b' class InProcessShellChannel(InProcessChannel):' | |||||
86 | 'object_info', |
|
86 | 'object_info', | |
87 | 'history', |
|
87 | 'history', | |
88 | 'shutdown', |
|
88 | 'shutdown', | |
|
89 | 'kernel_info', | |||
89 | ] |
|
90 | ] | |
90 |
|
91 | |||
91 | #-------------------------------------------------------------------------- |
|
92 | #-------------------------------------------------------------------------- | |
@@ -127,6 +128,12 b' class InProcessShellChannel(InProcessChannel):' | |||||
127 | # FIXME: What to do here? |
|
128 | # FIXME: What to do here? | |
128 | raise NotImplementedError('Cannot shutdown in-process kernel') |
|
129 | raise NotImplementedError('Cannot shutdown in-process kernel') | |
129 |
|
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 | ||||
130 | #-------------------------------------------------------------------------- |
|
137 | #-------------------------------------------------------------------------- | |
131 | # Protected interface |
|
138 | # Protected interface | |
132 | #-------------------------------------------------------------------------- |
|
139 | #-------------------------------------------------------------------------- |
General Comments 0
You need to be logged in to leave comments.
Login now