Files
bracket/backend/tests/integration_tests/models.py
Erik Vroon d6449e8d05 Customize rankings (#797)
Allows you to add rankings that specify how the ranking per stage item
is calculated.
Points are now stored per stage item input.
2024-09-07 12:03:16 +02:00

17 lines
427 B
Python

from pydantic import BaseModel
from bracket.models.db.club import Club
from bracket.models.db.ranking import Ranking
from bracket.models.db.tournament import Tournament
from bracket.models.db.user import User
from bracket.models.db.user_x_club import UserXClub
class AuthContext(BaseModel):
club: Club
tournament: Tournament
user: User
user_x_club: UserXClub
headers: dict[str, str]
ranking: Ranking