feat: воркер связывания placement и post

This commit is contained in:
Artem Tsyrulnikov
2025-12-15 19:32:49 +03:00
parent 71e5a38efc
commit fd51c9ad1f
5 changed files with 141 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
import logging
from typing import TYPE_CHECKING
from shared.worker_base import WorkerBase
from src import deps
if TYPE_CHECKING:
pass
log = logging.getLogger(__name__)
class FetchPlacementPostWorker(WorkerBase):
async def _cycle_func(self) -> None:
await deps.get_usecase().fetch_placement_post_cycle(self.config.INTERVAL_SECONDS)