refactor(chain): _mixins.py 更名 _transfer.py,统一功能域 mixin 命名

TransferChain 的 7 个功能域 mixin 集合文件按域更名 _transfer.py,
与 _recognition/_messaging/_interaction/_music 的单域命名约定对齐;
同步更新 transfer.py 导入、9 个测试文件 patch 目标与架构文档。
另含 chain 基类导入排序优化与未使用导入清理(copy/datetime 已随
dispatch 方法迁入 _messaging.py)。
This commit is contained in:
jxxghp
2026-08-16 17:25:49 +08:00
parent 5810f6bc2b
commit 3e417c1ac5
13 changed files with 63 additions and 65 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ from app.schemas.types import (
from app.runtime.reload import ConfigReloadMixin
from app.application.transfer import (FailedRetryScheduler, JobManager,
TransferQueue, TransferTask, job_lock)
from app.chain._mixins import (EpisodeFormatMixin, FailedRetryMixin,
from app.chain._transfer import (EpisodeFormatMixin, FailedRetryMixin,
FileFilterMixin, FileKeyMixin,
HistoryMatchMixin, ManualHistoryMixin,
ScrapeBatchMixin)