mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-11-16 05:10:53 +08:00
fix(types): preserve notification schema checks
This commit is contained in:
@@ -9,7 +9,7 @@ from pydantic import BaseModel, Field
|
||||
from app.schemas.types import NotificationChannel
|
||||
|
||||
|
||||
class WechatClawBotKnownTarget(BaseModel):
|
||||
class WechatClawBotKnownTarget(BaseModel): # type: ignore[misc]
|
||||
"""微信 ClawBot 已知消息目标。"""
|
||||
|
||||
userid: str
|
||||
@@ -17,7 +17,7 @@ class WechatClawBotKnownTarget(BaseModel):
|
||||
last_active: Optional[int | float] = None
|
||||
|
||||
|
||||
class WechatClawBotData(BaseModel):
|
||||
class WechatClawBotData(BaseModel): # type: ignore[misc]
|
||||
"""微信 ClawBot 登录状态或操作结果。"""
|
||||
|
||||
success: bool
|
||||
|
||||
Reference in New Issue
Block a user