fix typing

This commit is contained in:
jxxghp
2023-06-14 08:26:35 +08:00
parent 1f832633ea
commit 9d2d3f58a2
14 changed files with 129 additions and 150 deletions

View File

@ -121,3 +121,16 @@ class NotExistMediaInfo(BaseModel):
total_episodes: int = 0
# 开始集
start_episode: int = 0
class RefreshMediaItem(BaseModel):
# 标题
title: str
# 年份
year: Optional[str] = None
# 类型
type: Optional[MediaType] = None
# 类别
category: Optional[str] = None
# 目录
target_path: Optional[Path] = None