feat 转移历史记录文件清单
This commit is contained in:
@ -4,7 +4,6 @@ from typing import Optional
|
||||
from pydantic import BaseModel
|
||||
|
||||
|
||||
|
||||
class TransferTorrent(BaseModel):
|
||||
"""
|
||||
待转移任务信息
|
||||
@ -60,4 +59,4 @@ class TransferInfo(BaseModel):
|
||||
dicts = vars(self).copy() # 创建一个字典的副本以避免修改原始数据
|
||||
dicts["path"] = str(self.path) if self.path else None
|
||||
dicts["target_path"] = str(self.target_path) if self.target_path else None
|
||||
return dicts
|
||||
return dicts
|
||||
|
Reference in New Issue
Block a user