mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-03-20 12:08:09 +08:00
fix import
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
from app.actions import BaseAction
|
||||
from app.schemas import ActionParams, ActionContext
|
||||
from log import logger
|
||||
from app.log import logger
|
||||
|
||||
|
||||
class FetchDownloadsParams(ActionParams):
|
||||
|
||||
@@ -4,12 +4,12 @@ from pydantic import Field
|
||||
|
||||
from app.actions import BaseAction
|
||||
from app.schemas import ActionParams, ActionContext
|
||||
from core.config import settings
|
||||
from core.event import eventmanager
|
||||
from log import logger
|
||||
from schemas import RecommendSourceEventData, MediaInfo
|
||||
from schemas.types import ChainEventType
|
||||
from utils.http import RequestUtils
|
||||
from app.core.config import settings
|
||||
from app.core.event import eventmanager
|
||||
from app.log import logger
|
||||
from app.schemas import RecommendSourceEventData, MediaInfo
|
||||
from app.schemas.types import ChainEventType
|
||||
from app.utils.http import RequestUtils
|
||||
|
||||
|
||||
class FetchMediasParams(ActionParams):
|
||||
|
||||
@@ -4,7 +4,7 @@ from pydantic import Field
|
||||
|
||||
from app.actions import BaseAction
|
||||
from app.schemas import ActionParams, ActionContext
|
||||
from schemas import MediaType
|
||||
from app.schemas.types import MediaType
|
||||
|
||||
|
||||
class FilterMediasParams(ActionParams):
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
from app.actions import BaseAction
|
||||
from app.schemas import ActionParams, ActionContext
|
||||
from chain.media import MediaChain
|
||||
from chain.storage import StorageChain
|
||||
from core.metainfo import MetaInfoPath
|
||||
from log import logger
|
||||
from app.chain.media import MediaChain
|
||||
from app.chain.storage import StorageChain
|
||||
from app.core.metainfo import MetaInfoPath
|
||||
from app.log import logger
|
||||
|
||||
|
||||
class ScrapeFileParams(ActionParams):
|
||||
|
||||
@@ -2,7 +2,7 @@ import copy
|
||||
|
||||
from app.actions import BaseAction
|
||||
from app.schemas import ActionParams, ActionContext
|
||||
from core.event import eventmanager
|
||||
from app.core.event import eventmanager
|
||||
|
||||
|
||||
class SendEventParams(ActionParams):
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
from app.actions import BaseAction
|
||||
from app.schemas import ActionParams, ActionContext
|
||||
from chain.storage import StorageChain
|
||||
from chain.transfer import TransferChain
|
||||
from log import logger
|
||||
from app.chain.storage import StorageChain
|
||||
from app.chain.transfer import TransferChain
|
||||
from app.log import logger
|
||||
|
||||
|
||||
class TransferFileParams(ActionParams):
|
||||
|
||||
Reference in New Issue
Block a user