YFDashboard / src /domain /conferences.py
Jon Solow
Add practice reports queries and libraries
ac8c5cd
raw
history blame
388 Bytes
from dataclasses import dataclass
from typing import List
@dataclass
class NFLConference:
name: str
short_name: str
def __post_init__(self):
ALL_CONFERENCES.append(self)
ALL_CONFERENCES: List[NFLConference] = []
NFC = NFLConference(name="National Football Conference", short_name="NFC")
AFC = NFLConference(name="American Football Conference", short_name="AFC")