From 4cfc2c824a40a86a2c996e1f66a38815df418778 Mon Sep 17 00:00:00 2001 From: HibiKier <45528451+HibiKier@users.noreply.github.com> Date: Sat, 12 Jul 2025 23:46:18 +0800 Subject: [PATCH] =?UTF-8?q?=E6=81=A2=E5=A4=8DRegisterConfig=E7=9A=84type?= =?UTF-8?q?=E9=BB=98=E8=AE=A4=E5=80=BC=E4=B8=BANone?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- zhenxun/configs/utils/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zhenxun/configs/utils/models.py b/zhenxun/configs/utils/models.py index 1872d1ce..bb51a6c5 100644 --- a/zhenxun/configs/utils/models.py +++ b/zhenxun/configs/utils/models.py @@ -65,7 +65,7 @@ class RegisterConfig(BaseModel): """配置注解""" default_value: Any | None = None """默认值""" - type: object = str + type: object = None """参数类型""" arg_parser: Callable | None = None """参数解析"""