nonebot-plugin-dialectlist 2.0.1__tar.gz → 2.0.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {nonebot_plugin_dialectlist-2.0.1 → nonebot_plugin_dialectlist-2.0.2}/PKG-INFO +1 -1
- {nonebot_plugin_dialectlist-2.0.1 → nonebot_plugin_dialectlist-2.0.2}/nonebot_plugin_dialectlist/config.py +0 -7
- {nonebot_plugin_dialectlist-2.0.1 → nonebot_plugin_dialectlist-2.0.2}/nonebot_plugin_dialectlist.egg-info/PKG-INFO +1 -1
- {nonebot_plugin_dialectlist-2.0.1 → nonebot_plugin_dialectlist-2.0.2}/pyproject.toml +1 -1
- {nonebot_plugin_dialectlist-2.0.1 → nonebot_plugin_dialectlist-2.0.2}/README.md +0 -0
- {nonebot_plugin_dialectlist-2.0.1 → nonebot_plugin_dialectlist-2.0.2}/nonebot_plugin_dialectlist/__init__.py +0 -0
- {nonebot_plugin_dialectlist-2.0.1 → nonebot_plugin_dialectlist-2.0.2}/nonebot_plugin_dialectlist/usage.py +0 -0
- {nonebot_plugin_dialectlist-2.0.1 → nonebot_plugin_dialectlist-2.0.2}/nonebot_plugin_dialectlist/utils.py +0 -0
- {nonebot_plugin_dialectlist-2.0.1 → nonebot_plugin_dialectlist-2.0.2}/nonebot_plugin_dialectlist.egg-info/SOURCES.txt +0 -0
- {nonebot_plugin_dialectlist-2.0.1 → nonebot_plugin_dialectlist-2.0.2}/nonebot_plugin_dialectlist.egg-info/dependency_links.txt +0 -0
- {nonebot_plugin_dialectlist-2.0.1 → nonebot_plugin_dialectlist-2.0.2}/nonebot_plugin_dialectlist.egg-info/requires.txt +0 -0
- {nonebot_plugin_dialectlist-2.0.1 → nonebot_plugin_dialectlist-2.0.2}/nonebot_plugin_dialectlist.egg-info/top_level.txt +0 -0
- {nonebot_plugin_dialectlist-2.0.1 → nonebot_plugin_dialectlist-2.0.2}/setup.cfg +0 -0
- {nonebot_plugin_dialectlist-2.0.1 → nonebot_plugin_dialectlist-2.0.2}/setup.py +0 -0
|
@@ -13,13 +13,6 @@ class ScopedConfig(BaseModel):
|
|
|
13
13
|
excluded_people: List[str] = [] # 排除的人的QQ号
|
|
14
14
|
visualization_type: Literal["饼图", "圆环图", "柱状图"] = "圆环图" # 可视化方案
|
|
15
15
|
|
|
16
|
-
@field_validator("get_num")
|
|
17
|
-
@classmethod
|
|
18
|
-
def check_priority(cls, v: int) -> int:
|
|
19
|
-
if v >= 1:
|
|
20
|
-
return v
|
|
21
|
-
raise ValueError("表中的人数必须大于一")
|
|
22
|
-
|
|
23
16
|
|
|
24
17
|
class Config(BaseModel):
|
|
25
18
|
dialectlist: ScopedConfig = ScopedConfig()
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|