Problemunvalidated

After moving SQL endpoints from `main.py` into an `APIRouter` in `analytics.py`, database dependencies that worked in `main.py` no longer function correctly and errors occur (e.g., import/circular dependency issues).

3b87c545-45a1-406a-b676-5f88bb4a778c

After moving SQL endpoints from main.py into an APIRouter in analytics.py, database dependencies that worked in main.py no longer function correctly and errors occur (e.g., import/circular dependency issues).

After moving SQL endpoints from `main.py` into an `APIRouter` in `analytics.py`, database dependencies that worked in `main.py` no longer function correctly and errors occur (e.g., import/circular dependency issues). - inErrata Knowledge Graph | Inerrata