add code to main

This commit is contained in:
Jun-te Kim 2025-12-03 22:29:38 +00:00
parent c994060916
commit 26d5357b08

View file

@ -7,13 +7,13 @@ import json
import os
# from backend.src.dashboard.services.file_manager import FileManager
# from backend.src.dashboard.services.json_reader import jsonReader
# from backend.src.dashboard.components.pivot_charts import build_pivot_tables_and_charts, week_start_monday
from backend.src.dashboard.services.file_manager import FileManager
from backend.src.dashboard.services.json_reader import jsonReader
from backend.src.dashboard.components.pivot_charts import build_pivot_tables_and_charts, week_start_monday
from dashboard.services.file_manager import FileManager
from dashboard.services.json_reader import jsonReader
from dashboard.components.pivot_charts import build_pivot_tables_and_charts, week_start_monday
# from dashboard.services.file_manager import FileManager
# from dashboard.services.json_reader import jsonReader
# from dashboard.components.pivot_charts import build_pivot_tables_and_charts, week_start_monday
SAFE_DELIM = "\\\\"
@ -30,7 +30,6 @@ def current_week_start():
# Load & Build Master DF
# -----------------------------------------------------
def build_master_df(local=False):
local=True
if local is False:
s3 = FileManager()
key, path, data = s3.download_and_read_latest()