Skanislav commited on
Commit
e06d0af
·
1 Parent(s): d7ec263

fix: pull data operational changes

Browse files
Files changed (1) hide show
  1. scripts/pull_data.py +2 -2
scripts/pull_data.py CHANGED
@@ -100,7 +100,7 @@ def only_new_weekly_analysis():
100
  # Mech events ETL
101
  logging.info("Generating the mech json files")
102
  # get only new data
103
- latest_timestamp = get_mech_events_since_last_run(logger, mech_sandbox=True)
104
  if latest_timestamp == None:
105
  print("Error while getting the mech events")
106
  return
@@ -139,7 +139,7 @@ def only_new_weekly_analysis():
139
 
140
  save_historical_data()
141
  try:
142
- clean_old_data_from_parquet_files("2025-06-27")
143
  clean_old_data_from_json_files()
144
  except Exception as e:
145
  print("Error cleaning the oldest information from parquet files")
 
100
  # Mech events ETL
101
  logging.info("Generating the mech json files")
102
  # get only new data
103
+ latest_timestamp = get_mech_events_since_last_run(logger, mech_sandbox=False)
104
  if latest_timestamp == None:
105
  print("Error while getting the mech events")
106
  return
 
139
 
140
  save_historical_data()
141
  try:
142
+ clean_old_data_from_parquet_files("2025-07-03")
143
  clean_old_data_from_json_files()
144
  except Exception as e:
145
  print("Error cleaning the oldest information from parquet files")