mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-06 16:07:01 +08:00
test: use canonical transfer imports
This commit is contained in:
@@ -15,7 +15,8 @@ from app.domain.meta.metabase import MetaBase
|
|||||||
from app.domain.meta.metavideo import MetaVideo
|
from app.domain.meta.metavideo import MetaVideo
|
||||||
from app.modules.filemanager.transhandler import TransHandler
|
from app.modules.filemanager.transhandler import TransHandler
|
||||||
from app.runtime.config import settings
|
from app.runtime.config import settings
|
||||||
from app.schemas import EpisodeFormat, FileItem, TransferInfo
|
from app.schemas.file import FileItem
|
||||||
|
from app.schemas.transfer import EpisodeFormat, TransferInfo
|
||||||
from app.schemas.types import EventType, MediaSource, MediaType
|
from app.schemas.types import EventType, MediaSource, MediaType
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -2,8 +2,9 @@ from pathlib import Path
|
|||||||
|
|
||||||
from app.domain.context import MediaInfo
|
from app.domain.context import MediaInfo
|
||||||
from app.domain.meta.metabase import MetaBase
|
from app.domain.meta.metabase import MetaBase
|
||||||
from app.modules.filemanager import FileManagerModule
|
from app.modules.filemanager.module import FileManagerModule
|
||||||
from app.schemas import FileItem, TransferDirectoryConf
|
from app.schemas.file import FileItem
|
||||||
|
from app.schemas.system import TransferDirectoryConf
|
||||||
from app.schemas.types import MediaType
|
from app.schemas.types import MediaType
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,8 @@ from types import SimpleNamespace
|
|||||||
from app.chain.transfer import JobManager, TransferChain
|
from app.chain.transfer import JobManager, TransferChain
|
||||||
from app.domain.meta.metabase import MetaBase
|
from app.domain.meta.metabase import MetaBase
|
||||||
from app.runtime.config import settings
|
from app.runtime.config import settings
|
||||||
from app.schemas import EpisodeFormat, FileItem
|
from app.schemas.file import FileItem
|
||||||
|
from app.schemas.transfer import EpisodeFormat
|
||||||
from app.schemas.types import MediaType
|
from app.schemas.types import MediaType
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,8 @@ from app.application.transfer import TransferPlanningInput
|
|||||||
from app.domain.context import MediaInfo
|
from app.domain.context import MediaInfo
|
||||||
from app.domain.meta.metavideo import MetaVideo
|
from app.domain.meta.metavideo import MetaVideo
|
||||||
from app.modules.filemanager.transhandler import TransHandler
|
from app.modules.filemanager.transhandler import TransHandler
|
||||||
from app.schemas import FileItem, TransferInfo
|
from app.schemas.file import FileItem
|
||||||
|
from app.schemas.transfer import TransferInfo
|
||||||
from app.schemas.types import MediaType
|
from app.schemas.types import MediaType
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user