leaguemanager.models.baseline.competition.phase¶
Module Contents¶
Classes¶
Defines a ‘phase’ of a competition. |
Data¶
API¶
- class leaguemanager.models.baseline.competition.phase.Phase¶
Bases:
leaguemanager.models.base.CompetitionPhaseBaseDefines a ‘phase’ of a competition.
A phase represents a distinct phase within a Season. For example, while a given Competition could be completed in one or several Fixtures, a Phase corresponds to a series of Fixtures, such as a ‘Matchday’ or ‘Match Week’. Alternatively, a Phase could correspond to a phase within a competition, such as quarterfinals, semifinals, or final match.
Attributes: id (UUID): Inherited from UUIDAuditBase season_id (UUID): ForeignKey to Season. label (str): Unique label describing the Phase (i.e., Matchday 3, Gameweek 12, Semi-Final 2) competition_type (str): Inherited from CompetitionBase. phase_type (str): Designation of the competition phase. Inherited from CompetitionPhaseBase. created_at (datetime): Inherited from UUIDAuditBase updated_at (datetime): Inherited from UUIDAuditBase
- season_id: uuid.UUID | None¶
‘field(…)’
- label: str | None¶
‘field(…)’
- competition_type: str | None¶
‘field(…)’
- leaguemanager.models.baseline.competition.phase.phase¶
‘Table(…)’