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