leaguemanager.models.baseline.competition.league_properties

Module Contents

Classes

LeagueProperties

Defines the properties specific to a Competition, such as a League.

Functions

category_converter

Data

league_properties

API

leaguemanager.models.baseline.competition.league_properties.category_converter(value)
class leaguemanager.models.baseline.competition.league_properties.LeagueProperties

Bases: leaguemanager.models.base.PropertiesBase

Defines the properties specific to a Competition, such as a League.

It broadly describes qualifiers for a competition, which can include the sport, age class, day of competition, or other categories (such as “Coed” or “Division 2”).

Attributes: id (UUID): Inherited from UUIDAuditBase site_id (UUID): ForeignKey to Site. league_id (UUID): ForeignKey to League. sport (str): The sport type of the League. category (str): Defines if league is Women, Men, or Coed. division (str): Indicates the “Division” of a League (i.e., “Div 3”, “B League”, etc…) created_at (datetime): Inherited from UUIDAuditBase updated_at (datetime): Inherited from UUIDAuditBase

site_id: uuid.UUID | None

‘field(…)’

league_id: uuid.UUID | None

‘field(…)’

sport: str | None

‘field(…)’

category: str | None

‘field(…)’

division: str | None

‘field(…)’

leaguemanager.models.baseline.competition.league_properties.league_properties

‘Table(…)’