chain-service/chain_service/services/progress_action/base.py
2024-02-28 18:41:32 +07:00

20 lines
439 B
Python

from chain_service.database.models.progress_chain import (
ProgressChain,
BaseProgressAction,
)
from abc import ABC, abstractmethod
class BaseProgressActionService(ABC):
def __init__(
self, progress_chain: ProgressChain, progress_action: BaseProgressAction
):
self.progress_chain = progress_chain
self.progress_action = progress_action
@abstractmethod
async def process():
pass