leaguemanager.models.baseline.participation.athlete_stats¶
Module Contents¶
Classes¶
The participation of an individual or team that can win or lose an Fixture. |
Data¶
API¶
- class leaguemanager.models.baseline.participation.athlete_stats.AthleteStats¶
Bases:
leaguemanager.models.base.ParticipationBaseThe participation of an individual or team that can win or lose an Fixture.
Each individual that is participating in an Fixture has a AthleteStats that represents an athlete’s performance in that given Fixture. This class is very basic/generic as it is used to represent a broad set of competitions. (Premium class can provide more sport specific stats.)
Attributes: id (UUID): Inherited from UUIDAuditBase season_id (UUID): ForeignKey to Season. phase_id (UUID): ForeignKey to Phase. fixture_id (UUID): ForeignKey to Fixture. label (str): Description of AthleteStats (i.e., “Mark Smith, Week 4, Explosive FC”, etc…) points_scored (int): Points scored by the Athlete. saves (int): Any “saves” made by a player. cautions (str): Any cautions received by player. note (str): Miscellaneous info concerning player with this fixture. expelled (bool): If player was expelled from the fixture. disqualified (bool): If player was disqualified from competing in fixture. created_at (datetime): Inherited from UUIDAuditBase updated_at (datetime): Inherited from UUIDAuditBase
- season_id: uuid.UUID | None¶
‘field(…)’
- phase_id: uuid.UUID | None¶
‘field(…)’
- fixture_id: uuid.UUID | None¶
‘field(…)’
- label: str | None¶
‘field(…)’
- outcome: str | None¶
‘field(…)’
- score_for: int | None¶
‘field(…)’
- score_against: int | None¶
‘field(…)’
- alignment: str | None¶
‘field(…)’
- standing_points: int | None¶
‘field(…)’
- leaguemanager.models.baseline.participation.athlete_stats.athlete_stats¶
‘Table(…)’