SCHEMA = "prod_eu_analytics" TABLES = { "main": f"{SCHEMA}.whatscookin_main", "history": f"{SCHEMA}.whatscookin_track_history", "exclude": f"{SCHEMA}.whatscookin_excluded_isrcs", "temp_main": f"{SCHEMA}.whatscookin_temp_main", "temp_streams": f"{SCHEMA}.whatscookin_temp_streams", "temp_s200": f"{SCHEMA}.whatscookin_temp_s200", "temp_metadata": f"{SCHEMA}.whatscookin_temp_metadata", "temp_tiktok": f"{SCHEMA}.whatscookin_temp_tiktok", "temp_meta": f"{SCHEMA}.whatscookin_temp_meta", "temp_shazam": f"{SCHEMA}.whatscookin_temp_shazam", "stream_threshold": f"{SCHEMA}.whatscookin_stream_threshold", "ro_map": f"{SCHEMA}.whatscookin_ro_map", "distro": f"{SCHEMA}.whatscookin_distro", "dashboard_main": f"{SCHEMA}.whatscookin_dashboard_main", "dashboard_tiktok": f"{SCHEMA}.whatscookin_dashboard_tiktok", } TEMPLATE_VARS = { "main_table": TABLES["main"], "history": TABLES["history"], "exclude": TABLES["exclude"], "temp_main": TABLES["temp_main"], "temp_streams": TABLES["temp_streams"], "temp_s200": TABLES["temp_s200"], "temp_metadata": TABLES["temp_metadata"], "temp_tiktok": TABLES["temp_tiktok"], "temp_meta": TABLES["temp_meta"], "temp_shazam": TABLES["temp_shazam"], "stream_threshold": TABLES["stream_threshold"], "rep_owner_map": TABLES["ro_map"], "distro": TABLES["distro"], "dashboard_main": TABLES["dashboard_main"], "dashboard_tiktok": TABLES["dashboard_tiktok"], }