mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-06 07:56:52 +08:00
refactor: strengthen architecture CI gates and runtime contracts
This commit is contained in:
@@ -1,17 +1,17 @@
|
||||
from abc import ABCMeta, abstractmethod
|
||||
from pathlib import Path, PurePosixPath
|
||||
from typing import Optional, List, Dict, Tuple, Callable, Union
|
||||
from typing import Callable, Dict, List, Optional, Tuple, Union
|
||||
|
||||
from tqdm import tqdm
|
||||
|
||||
from app.application.storage import StorageHelper
|
||||
from app.foundation.crypto import HashUtils
|
||||
from app.runtime.log import logger
|
||||
from app.runtime.progress import ProgressHelper
|
||||
from app.schemas.exception import StorageQueryError
|
||||
from app.schemas.file import StorageUsage as _SchemaStorageUsage
|
||||
from app.schemas.system import StorageConf as _SchemaStorageConf
|
||||
from app.schemas.workflow import FileItem as _SchemaFileItem
|
||||
from app.runtime.progress import ProgressHelper
|
||||
from app.application.storage import StorageHelper
|
||||
from app.runtime.log import logger
|
||||
from app.schemas.exception import StorageQueryError
|
||||
from app.foundation.crypto import HashUtils
|
||||
|
||||
|
||||
def transfer_process(path: str) -> Callable[[int | float], None]:
|
||||
|
||||
Reference in New Issue
Block a user