🚨 Add specific ignore items in pyright ignore

🚨 Make pyright happy
♻️ Remove unused adapter
This commit is contained in:
HibiKier
2025-01-10 12:19:11 +08:00
committed by BalconyJH
parent e814469b75
commit ccee16bed2
33 changed files with 53 additions and 51 deletions
+2 -1
View File
@@ -1,3 +1,4 @@
from collections import defaultdict
from collections.abc import Callable
import copy
from datetime import datetime
@@ -95,7 +96,7 @@ class ConfigGroup(BaseModel):
"""模块名"""
name: str | None = None
"""插件名"""
configs: dict[str, ConfigModel] = {}
configs: dict[str, ConfigModel] = defaultdict()
"""配置项列表"""
def get(self, c: str, default: Any = None) -> Any: