From 06e8db6994a2f1dc3c9a6e20b9c8910997cb75fa Mon Sep 17 00:00:00 2001 From: BigOrangeQWQ <2284086963@qq.com> Date: Tue, 27 Aug 2024 17:02:33 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=20Store=20=E9=87=8C?= =?UTF-8?q?=E7=9A=84=E6=8F=92=E4=BB=B6=E5=AE=9E=E4=BE=8B=E6=9E=84=E9=80=A0?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/store_test/store.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/store_test/store.py b/src/utils/store_test/store.py index 4d629d21..537aa046 100644 --- a/src/utils/store_test/store.py +++ b/src/utils/store_test/store.py @@ -34,7 +34,7 @@ def __init__(self) -> None: PLUGIN_KEY_TEMPLATE.format( project_link=plugin["project_link"], module_name=plugin["module_name"], - ): StorePlugin.model_construct(**plugin) + ): StorePlugin(**plugin) for plugin in load_json(STORE_PLUGINS_URL) } # 插件配置文件 @@ -48,7 +48,7 @@ def __init__(self) -> None: PLUGIN_KEY_TEMPLATE.format( project_link=plugin["project_link"], module_name=plugin["module_name"], - ): Plugin.model_construct(**plugin) + ): Plugin(**plugin) for plugin in load_json(REGISTRY_PLUGINS_URL) }