my fault fixes #14

main
Giò Diani 2025-01-15 14:31:07 +01:00
parent a5a21fb925
commit 959b84d1e1
5 changed files with 5 additions and 5 deletions

View File

@ -9,7 +9,7 @@ d = data.load()
def property_capacities_monthly(id: int, scrapeDate: str): def property_capacities_monthly(id: int, scrapeDate: str):
file = f"etl_property_capacities_monthly_{id}.obj" file = f"etl_property_capacities_monthly_{id}_{scrapeDate}.obj"
obj = etl_cache.openObj(file) obj = etl_cache.openObj(file)
if obj: if obj:
return obj return obj

View File

@ -9,7 +9,7 @@ d = data.load()
def property_capacities_weekdays(id: int, scrapeDate: str): def property_capacities_weekdays(id: int, scrapeDate: str):
file = f"etl_property_capacities_weekdays_{id}.obj" file = f"etl_property_capacities_weekdays_{id}_{scrapeDate}.obj"
obj = etl_cache.openObj(file) obj = etl_cache.openObj(file)
if obj: if obj:
return obj return obj

View File

@ -11,7 +11,7 @@ d = data.load()
def region_capacities_monthly(id: int, scrapeDate_start: str): def region_capacities_monthly(id: int, scrapeDate_start: str):
file = f"etl_region_capacities_monthly_{id}.obj" file = f"etl_region_capacities_monthly_{id}_{scrapeDate_start}.obj"
obj = etl_cache.openObj(file) obj = etl_cache.openObj(file)
if obj: if obj:
return obj return obj

View File

@ -10,7 +10,7 @@ d = data.load()
def region_capacities_weekdays(id: int, scrapeDate_start: str): def region_capacities_weekdays(id: int, scrapeDate_start: str):
file = f"etl_region_capacities_weekdays_{id}.obj" file = f"etl_region_capacities_weekdays_{id}_{scrapeDate_start}.obj"
obj = etl_cache.openObj(file) obj = etl_cache.openObj(file)
if obj: if obj:
return obj return obj

View File

@ -10,7 +10,7 @@ d = data.load()
def region_movingAverage(id: int, scrape_date_start_min: str): def region_movingAverage(id: int, scrape_date_start_min: str):
file = f"etl_region_movingAverage_{id}.obj" file = f"etl_region_movingAverage_{id}_{scrape_date_start_min}.obj"
obj = etl_cache.openObj(file) obj = etl_cache.openObj(file)
if obj: if obj:
return obj return obj