Week¶
griddy / nfl / models / entities / week**
week
¶
Attributes¶
Classes¶
WeekTypedDict
¶
Bases: TypedDict
flowchart TD
griddy.nfl.models.entities.week.WeekTypedDict[WeekTypedDict]
click griddy.nfl.models.entities.week.WeekTypedDict href "" "griddy.nfl.models.entities.week.WeekTypedDict"
Attributes¶
bye_teams
instance-attribute
¶
bye_teams: NotRequired[List[ProTeamTypedDict]]
Teams on bye this week (empty array if no bye teams)
season_type_week
instance-attribute
¶
Combined season type and week identifier
Week
¶
Bases: BaseModel
flowchart TD
griddy.nfl.models.entities.week.Week[Week]
griddy.nfl.types.basemodel.BaseModel[BaseModel]
griddy.nfl.types.basemodel.BaseModel --> griddy.nfl.models.entities.week.Week
click griddy.nfl.models.entities.week.Week href "" "griddy.nfl.models.entities.week.Week"
click griddy.nfl.types.basemodel.BaseModel href "" "griddy.nfl.types.basemodel.BaseModel"
Attributes¶
bye_teams
class-attribute
instance-attribute
¶
bye_teams: Annotated[
Optional[List[ProTeam]], Field(alias="byeTeams")
] = None
Teams on bye this week (empty array if no bye teams)
date_begin
class-attribute
instance-attribute
¶
First day of the week
date_end
class-attribute
instance-attribute
¶
Last day of the week
season_type
class-attribute
instance-attribute
¶
season_type: Annotated[
Optional[SeasonTypeEnum], Field(alias="seasonType")
] = None
Type of NFL season
season_type_week
class-attribute
instance-attribute
¶
Combined season type and week identifier
text
class-attribute
instance-attribute
¶
Human-readable week description
week
class-attribute
instance-attribute
¶
Week number (0 for Hall of Fame game)
week_slug
class-attribute
instance-attribute
¶
Week identifier slug
week_type
class-attribute
instance-attribute
¶
week_type: Annotated[
Optional[WeekWeekType], Field(alias="weekType")
] = None
Type of week