Show More
@@ -284,15 +284,19 b' class Kernel(Configurable):' | |||
|
284 | 284 | def _publish_pyin(self, code, parent, execution_count): |
|
285 | 285 | """Publish the code request on the pyin stream.""" |
|
286 | 286 | |
|
287 |
self.session.send(self.iopub_stream, u'pyin', |
|
|
288 |
u'execution_count': execution_count}, |
|
|
287 | self.session.send(self.iopub_stream, u'pyin', | |
|
288 | {u'code':code, u'execution_count': execution_count}, | |
|
289 | parent=parent, | |
|
290 | ) | |
|
289 | 291 | |
|
290 | 292 | def execute_request(self, stream, ident, parent): |
|
291 | 293 | |
|
292 | 294 | self.session.send(self.iopub_stream, |
|
293 | 295 | u'status', |
|
294 | 296 | {u'execution_state':u'busy'}, |
|
295 |
parent=parent |
|
|
297 | parent=parent, | |
|
298 | ident='status', | |
|
299 | ) | |
|
296 | 300 | |
|
297 | 301 | try: |
|
298 | 302 | content = parent[u'content'] |
General Comments 0
You need to be logged in to leave comments.
Login now