Skip to content

matchweek

matchweek

Matchweek domain object.

Matchweek dataclass

Matchweek(
    gameweek: int,
    date: datetime,
    fixtures: list[dict],
    team_difficulty: dict[str, float],
)

Represents a matchweek with global context.

ATTRIBUTE DESCRIPTION
gameweek

Gameweek number

TYPE: int

date

Date of the gameweek

TYPE: datetime

fixtures

List of fixtures

TYPE: list[dict]

team_difficulty

Team-level difficulty ratings

TYPE: dict[str, float]