From 1c923a202f3ade66e771911c4ab7e1845a8d718e Mon Sep 17 00:00:00 2001 From: Golf Player <> Date: Mon, 1 Jun 2020 14:36:18 -0500 Subject: [PATCH] Return to idle after complete --- nbclient/client.py | 1 + 1 file changed, 1 insertion(+) diff --git a/nbclient/client.py b/nbclient/client.py index 153b8dc3..b911c90e 100644 --- a/nbclient/client.py +++ b/nbclient/client.py @@ -535,6 +535,7 @@ async def async_execute(self, reset_kc=False, **kwargs): self.nb.metadata['language_info'] = info_msg['content']['language_info'] self.set_widgets_metadata() self._update_state(ExecutionState.COMPLETE) + self._update_state(ExecutionState.IDLE) return self.nb execute = run_sync(async_execute)