Исправлены ошибки Wild Card и skip-assignment

- Wild Card: исправлен game.name → game.title
- Wild Card: добавлена поддержка игр типа playthrough
- points.py: добавлена проверка на None для challenge_points
- PlaythroughInfo: поля сделаны Optional (description, points, proof_type)
- organizer_skip_assignment: добавлен фильтр is_event_assignment

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-16 18:10:40 +03:00
parent 9cfe99ff7e
commit 72089d1b47
4 changed files with 68 additions and 33 deletions

View File

@@ -87,7 +87,7 @@ class GameResponse(GameBase):
class PlaythroughInfo(BaseModel):
"""Информация о прохождении для игр типа playthrough"""
description: str
points: int
proof_type: str
description: str | None = None
points: int | None = None
proof_type: str | None = None
proof_hint: str | None = None