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
@@ -4,10 +4,10 @@ from typing import Set, Tuple, Optional, Union, List, Dict
from torrentool.torrent import Torrent
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.rtorrent.rtorrent import Rtorrent
from app.schemas import DownloaderTorrent
@@ -18,7 +18,7 @@ from app.schemas.types import (
TorrentQueryStatus,
TorrentStatus,
)
from app.utils.string import StringUtils
from app.domain.string import StringUtils
class RtorrentModule(_ModuleBase, _DownloaderBase[Rtorrent]):