import asyncio from loguru import logger from .base import BaseProgressActionService class WaitProgressActionService(BaseProgressActionService): async def process(self): logger.info('WaitProgressActionService task started') await asyncio.sleep(self.progress_action.wait_for) logger.info('WaitProgressActionService task ended')