From daa4c8559cc5a89d17024a66e0d660f296d710e4 Mon Sep 17 00:00:00 2001 From: Paul Ivanov Date: Fri, 8 Feb 2019 10:43:02 -0800 Subject: [PATCH] WIP add resrouce_info_request --- jupyter_client/client.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/jupyter_client/client.py b/jupyter_client/client.py index 763af85a7..f41d6d26b 100644 --- a/jupyter_client/client.py +++ b/jupyter_client/client.py @@ -410,6 +410,12 @@ def is_complete(self, code): self.shell_channel.send(msg) return msg['header']['msg_id'] + def resource_info_request(self, expression): + msg = self.session.msg('resource_info_request', {'hi': expression}) + self.shell_channel.send(msg) + return msg['header']['msg_id'] + + def input(self, string): """Send a string of raw input to the kernel.