refactor backend module architecture

This commit is contained in:
jxxghp
2026-08-14 15:45:38 +08:00
parent 557cc0e2e3
commit 7b3444c366
716 changed files with 10378 additions and 7709 deletions
+5 -5
View File
@@ -5,10 +5,10 @@ from torrentool.torrent import Torrent
from transmission_rpc import File
from app import schemas
from app.core.cache import FileCache
from app.core.config import settings
from app.core.metainfo import MetaInfo
from app.log import logger
from app.platform.cache import FileCache
from app.platform.config import settings
from app.domain.metainfo import MetaInfo
from app.platform.log import logger
from app.modules import _ModuleBase, _DownloaderBase
from app.modules.transmission.transmission import Transmission
from app.schemas import DownloaderTorrent
@@ -19,7 +19,7 @@ from app.schemas.types import (
TorrentQueryStatus,
TorrentStatus,
)
from app.utils.string import StringUtils
from app.domain.string import StringUtils
_TRANSMISSION_DOWNLOADING_STATES = {
"download_pending",