leaguemanager.models.baseline.competition.fixture

Module Contents

Classes

Fixture

Defines a contest/competition which results in statistical results.

Data

fixture

API

class leaguemanager.models.baseline.competition.fixture.Fixture

Bases: leaguemanager.models.base.EventBase

Defines a contest/competition which results in statistical results.

A Fixture represents a specific contest or match between opponents or contestants. This object is generally a child of a CompetitionPhase object. For example, during any given phase of a competition (such as a Matchday), there can be many Fixtures (i.e., Team A vs Team B).

Attributes: id (UUID): Inherited from UUIDAuditBase season_id (UUID): ForeignKey to Season. phase_id (UUID): ForeignKey to Phase. site_id (UUID): ForeignKey to Site. label (str): Description of the fixture (i.e., Team A vs Team B, 8-Team Elimination, etc…). site_venue (str): Specifies specific venue for Fixture (i.e., Field A, Court 2, etc…). outcome_type (str): Type of outcome (i.e., regular, decision, shootout, forfeit, etc…). status (str): Status of fixture (i.e., pre-event, in-progress, post-event). created_at (datetime): Inherited from UUIDAuditBase updated_at (datetime): Inherited from UUIDAuditBase

season_id: uuid.UUID | None

‘field(…)’

phase_id: uuid.UUID | None

‘field(…)’

site_id: uuid.UUID | None

‘field(…)’

label: str | None

‘field(…)’

site_venue: str | None

‘field(…)’

outcome_type: str | None

‘field(…)’

status: str | None

‘field(…)’

leaguemanager.models.baseline.competition.fixture.fixture

‘Table(…)’