mirror of
https://github.com/evroon/bracket.git
synced 2026-01-03 11:38:01 -05:00
Allows you to add rankings that specify how the ranking per stage item is calculated. Points are now stored per stage item input.
17 lines
427 B
Python
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
|