From 294d0fe70968ae66ff45200da3569e90c127951a Mon Sep 17 00:00:00 2001 From: Yizhou Chi Date: Mon, 9 Sep 2024 16:59:39 +0800 Subject: [PATCH] fix nbclient --- expo/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/expo/utils.py b/expo/utils.py index 9c6295fa9..270842e41 100644 --- a/expo/utils.py +++ b/expo/utils.py @@ -110,7 +110,7 @@ async def load_execute_notebook(role): codes = [task.code for task in tasks if task.code] executor = role.execute_code executor.nb = nbformat.v4.new_notebook() - executor.nb.client = NotebookClient(executor.nb) + executor.nb_client = NotebookClient(executor.nb) # await executor.build() for code in codes: outputs, success = await executor.run(code)