Jon Solow
commited on
Commit
·
69f6ae6
1
Parent(s):
fe44fc7
Restore caching of load_options
Browse files
src/pages/10_Set_Your_Lineup.py
CHANGED
@@ -67,7 +67,7 @@ def player_options_from_df(df_options) -> dict[str, dict[int, list[PlayerOption]
|
|
67 |
return options_map
|
68 |
|
69 |
|
70 |
-
|
71 |
def load_options():
|
72 |
df_rosters = get_weekly_rosters()
|
73 |
|
|
|
67 |
return options_map
|
68 |
|
69 |
|
70 |
+
@st.cache_data(ttl=60 * 60 * 24)
|
71 |
def load_options():
|
72 |
df_rosters = get_weekly_rosters()
|
73 |
|