mirror of
https://github.com/evroon/bracket.git
synced 2026-01-02 11:09:40 -05:00
Prefly is much faster than mypy and a bit stricter Mypy will also still be checked on CI for now
17 lines
435 B
Python
17 lines
435 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 UserInDB
|
|
from bracket.models.db.user_x_club import UserXClub
|
|
|
|
|
|
class AuthContext(BaseModel):
|
|
club: Club
|
|
tournament: Tournament
|
|
user: UserInDB
|
|
user_x_club: UserXClub
|
|
headers: dict[str, str]
|
|
ranking: Ranking
|