fix modules

This commit is contained in:
jxxghp
2023-06-10 09:51:20 +08:00
parent e86bb84ba5
commit e0730960d3
24 changed files with 47 additions and 49 deletions

View File

@@ -6,7 +6,7 @@ from typing import Optional, Any, Tuple, List, Set, Union
from ruamel.yaml import CommentedMap
from app.core.context import Context
from app.core.module_manager import ModuleManager
from app.core.module import ModuleManager
from app.core.context import MediaInfo, TorrentInfo
from app.core.meta import MetaBase
from app.log import logger

View File

@@ -6,7 +6,7 @@ from app.chain.download import DownloadChain
from app.chain.search import SearchChain
from app.chain.subscribe import SubscribeChain
from app.core.config import settings
from app.core.meta_info import MetaInfo
from app.core.metainfo import MetaInfo
from app.core.context import MediaInfo
from app.helper.rss import RssHelper
from app.log import logger

View File

@@ -1,7 +1,7 @@
from typing import Optional
from app.chain import ChainBase
from app.core.meta_info import MetaInfo
from app.core.metainfo import MetaInfo
from app.core.context import Context, MediaInfo
from app.log import logger

View File

@@ -4,7 +4,7 @@ from app.chain import ChainBase
from app.core.config import settings
from app.core.context import Context, MediaInfo, TorrentInfo
from app.core.meta import MetaBase
from app.core.meta_info import MetaInfo
from app.core.metainfo import MetaInfo
from app.helper.sites import SitesHelper
from app.log import logger

View File

@@ -3,7 +3,7 @@ from typing import Dict, List, Optional
from app.chain import ChainBase
from app.chain.download import DownloadChain
from app.chain.search import SearchChain
from app.core.meta_info import MetaInfo
from app.core.metainfo import MetaInfo
from app.core.context import TorrentInfo, Context, MediaInfo
from app.core.config import settings
from app.db.subscribes import Subscribes

View File

@@ -1,7 +1,7 @@
from typing import List, Optional
from app.chain import ChainBase
from app.core.meta_info import MetaInfo
from app.core.metainfo import MetaInfo
from app.core.context import MediaInfo
from app.core.config import settings
from app.core.meta import MetaBase

View File

@@ -4,8 +4,8 @@ from app.chain.download import *
from app.chain.search import SearchChain
from app.chain.subscribe import SubscribeChain
from app.core.context import MediaInfo, TorrentInfo
from app.core.meta_info import MetaInfo
from app.core.event_manager import EventManager
from app.core.metainfo import MetaInfo
from app.core.event import EventManager
from app.log import logger
from app.utils.types import EventType