From 2487dc312dd61f8d65ebb62066aa1ca155fbdc45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Krassowski?= <5832902+krassowski@users.noreply.github.com> Date: Thu, 11 Apr 2024 10:13:16 +0100 Subject: [PATCH] Remove empty initializer Co-authored-by: David Brochart --- jupyter_ydoc/ynotebook.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jupyter_ydoc/ynotebook.py b/jupyter_ydoc/ynotebook.py index d84be1d..22ef67c 100644 --- a/jupyter_ydoc/ynotebook.py +++ b/jupyter_ydoc/ynotebook.py @@ -167,7 +167,7 @@ def create_ycell(self, value: Dict[str, Any]) -> Map: del cell["attachments"] elif cell_type == "code": cell["outputs"] = Array(cell.get("outputs", [])) - cell["pending_requests"] = Array([]) + cell["pending_requests"] = Array() return Map(cell)