From a557dd58225b8ea112a61149b50182c1acbf69eb Mon Sep 17 00:00:00 2001 From: yleaf <11785335+leavesster@users.noreply.github.com> Date: Mon, 6 Jan 2025 17:26:21 +0800 Subject: [PATCH] fix: block_path maybe None --- oocana/oocana/data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oocana/oocana/data.py b/oocana/oocana/data.py index 9708ad1d..f9b06d55 100644 --- a/oocana/oocana/data.py +++ b/oocana/oocana/data.py @@ -11,7 +11,7 @@ class BlockDict(TypedDict): session_id: str job_id: str stacks: list - block_path: str + block_path: str | None # dataclass 默认字段必须一一匹配 # 如果多一个或者少一个字段,就会报错。