fix chain singleton
This commit is contained in:
parent
cb08d57d7a
commit
40386a6980
@ -1,5 +1,6 @@
|
|||||||
import pickle
|
import pickle
|
||||||
import traceback
|
import traceback
|
||||||
|
from abc import ABCMeta
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from typing import Optional, Any, Tuple, List, Set, Union, Dict
|
from typing import Optional, Any, Tuple, List, Set, Union, Dict
|
||||||
|
|
||||||
@ -16,10 +17,9 @@ from app.schemas import TransferInfo, TransferTorrent, ExistMediaInfo, Downloadi
|
|||||||
WebhookEventInfo
|
WebhookEventInfo
|
||||||
from app.schemas.types import TorrentStatus, MediaType, MediaImageType
|
from app.schemas.types import TorrentStatus, MediaType, MediaImageType
|
||||||
from app.utils.object import ObjectUtils
|
from app.utils.object import ObjectUtils
|
||||||
from app.utils.singleton import AbstractSingleton
|
|
||||||
|
|
||||||
|
|
||||||
class ChainBase(AbstractSingleton):
|
class ChainBase(metaclass=ABCMeta):
|
||||||
"""
|
"""
|
||||||
处理链基类
|
处理链基类
|
||||||
"""
|
"""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user