mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2025-12-15 14:22:55 +08:00
恢复RegisterConfig的type默认值为None
This commit is contained in:
parent
9686a31419
commit
4cfc2c824a
@ -65,7 +65,7 @@ class RegisterConfig(BaseModel):
|
|||||||
"""配置注解"""
|
"""配置注解"""
|
||||||
default_value: Any | None = None
|
default_value: Any | None = None
|
||||||
"""默认值"""
|
"""默认值"""
|
||||||
type: object = str
|
type: object = None
|
||||||
"""参数类型"""
|
"""参数类型"""
|
||||||
arg_parser: Callable | None = None
|
arg_parser: Callable | None = None
|
||||||
"""参数解析"""
|
"""参数解析"""
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user