feat: adapt to Pydantic V2

This commit is contained in:
Attente
2025-11-01 17:56:37 +08:00
parent fcd0908032
commit c7f098771b
10 changed files with 12 additions and 13 deletions

View File

@@ -24,7 +24,7 @@ class Subscribe(BaseModel):
# 背景图
backdrop: Optional[str] = None
# 评分
vote: Optional[int] = 0
vote: Optional[float] = 0
# 描述
description: Optional[str] = None
# 过滤规则