mirror of
https://github.com/EstrellaXD/Auto_Bangumi.git
synced 2026-04-24 18:40:03 +08:00
Update test
重写rename,更容易修改
This commit is contained in:
12
src/module/models/torrent.py
Normal file
12
src/module/models/torrent.py
Normal file
@@ -0,0 +1,12 @@
|
||||
from pydantic import BaseModel, Field
|
||||
|
||||
|
||||
class TorrentInfo(BaseModel):
|
||||
name: str = Field(...)
|
||||
link: str = Field(...)
|
||||
|
||||
|
||||
class FileSet(BaseModel):
|
||||
media_path: str = Field(...)
|
||||
sc_subtitle: str | None = Field(None)
|
||||
tc_subtitle: str | None = Field(None)
|
||||
Reference in New Issue
Block a user