Skip to content

Vote

Provides a dataclass for representing a vote to a CTF.

ctftime_api.models.vote.Vote dataclass

Vote(
    event_id: int,
    user_id: int,
    user_teams: list[int],
    weight: str,
    creation_date: datetime,
)

Bases: DataClassJsonMixin