24 lines
628 B
Python
24 lines
628 B
Python
from .base import BaseProgressActionService
|
|
|
|
from chain_service.database.models.progress_chain import (
|
|
BaseProgressAction,
|
|
ProgressChain,
|
|
)
|
|
|
|
from planfix_client import PlanfixClient
|
|
|
|
|
|
class CommentProgressActionService(BaseProgressActionService):
|
|
|
|
def __init__(
|
|
self,
|
|
planfix_client: PlanfixClient,
|
|
progress_chain: ProgressChain,
|
|
progress_action: BaseProgressAction,
|
|
):
|
|
self.planfix_client = planfix_client
|
|
super().__init__(progress_chain, progress_action)
|
|
|
|
async def process(self):
|
|
print("Comment service", self.progress_action, self.planfix_client)
|