mirror of
https://github.com/Dasemu/skipredictor.git
synced 2026-11-26 07:16:15 +00:00
- Refactor backend into a single process (FastAPI + APScheduler + Telegram Bot) - Implement 'current_forecasts' and 'past_forecasts' architecture in storage - Optimize historical webcam collector with date range discovery for Pajares, San Isidro, and Fuentes - Clean up legacy scripts and tables (prediction_runs, prediction_stations) - Update tests and operations documentation
40 lines
1.0 KiB
Python
40 lines
1.0 KiB
Python
"""SQLite-backed storage helpers for the ski predictor."""
|
|
|
|
from storage.sqlite_store import (
|
|
CROWD_ANALYSIS_TABLE,
|
|
CURRENT_FORECASTS_TABLE,
|
|
DEFAULT_DB_PATH,
|
|
EVALUATION_RUNS_TABLE,
|
|
FEATURE_IMPORTANCE_TABLE,
|
|
HISTORICAL_ACTUALS_TABLE,
|
|
HISTORICAL_FEATURED_TABLE,
|
|
HISTORICAL_MERGED_TABLE,
|
|
HISTORICAL_STATION_TABLE,
|
|
HISTORICAL_WEATHER_TABLE,
|
|
LATEST_STATION_STATUS_TABLE,
|
|
LATEST_WEATHER_TABLE,
|
|
PAST_FORECASTS_TABLE,
|
|
RUNTIME_DATASET_TABLE,
|
|
RUNTIME_FEATURED_TABLE,
|
|
SQLiteStore,
|
|
)
|
|
|
|
__all__ = [
|
|
"CROWD_ANALYSIS_TABLE",
|
|
"CURRENT_FORECASTS_TABLE",
|
|
"DEFAULT_DB_PATH",
|
|
"EVALUATION_RUNS_TABLE",
|
|
"FEATURE_IMPORTANCE_TABLE",
|
|
"HISTORICAL_ACTUALS_TABLE",
|
|
"HISTORICAL_FEATURED_TABLE",
|
|
"HISTORICAL_MERGED_TABLE",
|
|
"HISTORICAL_STATION_TABLE",
|
|
"HISTORICAL_WEATHER_TABLE",
|
|
"LATEST_STATION_STATUS_TABLE",
|
|
"LATEST_WEATHER_TABLE",
|
|
"PAST_FORECASTS_TABLE",
|
|
"RUNTIME_DATASET_TABLE",
|
|
"RUNTIME_FEATURED_TABLE",
|
|
"SQLiteStore",
|
|
]
|