Coverage for src/data_api/core/config.py: 100%
1 statements
« prev ^ index » next coverage.py v7.16.2, created at 2026-11-13 19:28 +0000
« prev ^ index » next coverage.py v7.16.2, created at 2026-11-13 19:28 +0000
1"""
2Configuration for NTHU Data API
4This module contains configuration settings including which data endpoints
5should be pre-fetched at application startup.
6"""
8# Pre-fetch published datasets used by REST/MCP so readiness needs no user traffic.
9PREFETCH_ENDPOINTS = [
10 "buses.json",
11 "courses/latest.json",
12 "courses/sources.json",
13 "calendars.json",
14 "dining.json",
15 "announcements.json",
16 "announcements_list.json",
17 "directory.json",
18 "newsletters.json",
19 "maps.json",
20 "libraries/rss.json",
21 "libraries/calendars.json",
22]