From c0976897ef134f73fc78690eadb71a123a219b93 Mon Sep 17 00:00:00 2001 From: jxxghp Date: Fri, 2 May 2025 13:30:39 +0800 Subject: [PATCH] fix bug --- app/schemas/event.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/schemas/event.py b/app/schemas/event.py index e8115368..4bb7ba95 100644 --- a/app/schemas/event.py +++ b/app/schemas/event.py @@ -321,7 +321,7 @@ class StorageOperSelectionEventData(ChainEventData): storage_oper (Callable): 存储操作对象 """ # 输入参数 - storage: str = Field(..., description="存储类型") + storage: Optional[str] = Field(default=None, description="存储类型") # 输出参数 storage_oper: Optional[Callable] = Field(default=None, description="存储操作对象")