Skip to content

Commit

Permalink
fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bomzheg committed Nov 27, 2024
1 parent eacbb00 commit e82de3e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion shvatka/api/models/responses.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,17 @@

from adaptix import Retort, dumper

from shvatka.common.factory import REQUIRED_GAME_RECIPES
from shvatka.core.games.dto import CurrentHints
from shvatka.core.models import dto, enums
from shvatka.core.models.dto import scn
from shvatka.core.models.enums import GameStatus

T = typing.TypeVar("T")
retort = Retort(recipe=[dumper(scn.HintsList, lambda x: x.hints)])
retort = Retort(recipe=[
*REQUIRED_GAME_RECIPES,
dumper(scn.HintsList, lambda x: x.hints)
])


@dataclass
Expand Down

0 comments on commit e82de3e

Please sign in to comment.