File tree Expand file tree Collapse file tree 7 files changed +3
-9
lines changed Expand file tree Collapse file tree 7 files changed +3
-9
lines changed Original file line number Diff line number Diff line change 1414from ttt .application .game .game .ports .game_views import GameViews
1515from ttt .application .game .game .ports .games import Games
1616from ttt .application .user .common .ports .user_locks import UserLocks
17- from ttt .application .user .common .ports .users import Users
1817from ttt .entities .core .game .game import (
1918 AlreadyCompletedGameError ,
2019 NotAiCurrentMoveError ,
Original file line number Diff line number Diff line change 11from abc import ABC , abstractmethod
2- from uuid import UUID
32
43from ttt .entities .core .game .game import Game
54
Original file line number Diff line number Diff line change 33from typing import Annotated , cast
44
55from aiogram import Bot , Dispatcher
6- from aiogram .fsm .context import FSMContext
76from aiogram .fsm .storage .base import BaseStorage , DefaultKeyBuilder
87from aiogram .fsm .storage .redis import RedisStorage
98from aiogram .types import (
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ async def start_tg_bot(container: AsyncContainer) -> None:
3939 logging .basicConfig (level = logging .INFO )
4040
4141 try :
42- # await tasks(next_container)
42+ await tasks (next_container )
4343 await taskiq_bg_worker ()
4444 await dp .start_polling (bot )
4545 finally :
Original file line number Diff line number Diff line change 44from structlog .types import FilteringBoundLogger
55
66from ttt .application .user .game .matchmake import Matchmake
7+ from ttt .infrastructure .dishka .next_container import NextContainer
78from ttt .infrastructure .retrier import Retrier
89from ttt .infrastructure .structlog .logger import unexpected_error_log
910from ttt .presentation .tasks .task import Task
10- from ttt .infrastructure .dishka .next_container import NextContainer
1111
1212
1313@dataclass
Original file line number Diff line number Diff line change 1- from collections .abc import Callable
21from typing import Any , Protocol
32
4- from dishka .async_container import AsyncContextWrapper
5-
63from ttt .infrastructure .dishka .next_container import NextContainer
74
85
Original file line number Diff line number Diff line change 22from dataclasses import dataclass
33from functools import partial
44
5+ from ttt .infrastructure .dishka .next_container import NextContainer
56from ttt .presentation .tasks .task import Task
67from ttt .presentation .unkillable_task_group import UnkillableTaskGroup
7- from ttt .infrastructure .dishka .next_container import NextContainer
88
99
1010@dataclass (frozen = True , unsafe_hash = False )
You can’t perform that action at this time.
0 commit comments