fix Config reload

This commit is contained in:
jxxghp
2025-06-04 07:17:47 +08:00
parent 2af8b6f445
commit 0911854e9d
4 changed files with 56 additions and 67 deletions
+1 -2
View File
@@ -27,8 +27,7 @@ class ConfigChangeEventData(BaseEventData):
ConfigChange 事件的数据模型
"""
key: str = Field(..., description="配置项的键")
old_value: Optional[Any] = Field(default=None, description="配置项的")
new_value: Optional[Any] = Field(default=None, description="配置项的新值")
value: Optional[Any] = Field(default=None, description="配置项的")
change_type: str = Field(default="update", description="配置项的变更类型,如 'add', 'update', 'delete'")