Spaces:
Running
Running
Jon Solow
commited on
Commit
·
ed91fb3
1
Parent(s):
57ddd5a
Remove cache on get of league settings
Browse files
src/pages/50_League_Simulation.py
CHANGED
|
@@ -7,7 +7,6 @@ from shared_page import common_page_config
|
|
| 7 |
from simulate import create_simulate_summary, run_simulations
|
| 8 |
|
| 9 |
|
| 10 |
-
@st.cache_resource(ttl=60 * 60 * 24)
|
| 11 |
def get_all_league_settings_with_cache(season: int):
|
| 12 |
return st.session_state.yahoo_client.get_all_logged_in_user_league_settings(season=season)
|
| 13 |
|
|
|
|
| 7 |
from simulate import create_simulate_summary, run_simulations
|
| 8 |
|
| 9 |
|
|
|
|
| 10 |
def get_all_league_settings_with_cache(season: int):
|
| 11 |
return st.session_state.yahoo_client.get_all_logged_in_user_league_settings(season=season)
|
| 12 |
|