repos.py
python
sha256:a10adeeb7a0169cb9900f9806ed7a973047258abb6283724fe55e8eb68ff3f0a
init: musehub initial commit
Human
171 days ago
| 1 | """REST API — legacy repo snapshot shim. |
| 2 | |
| 3 | The snapshot API has moved to ``musehub.api.routes.api.snapshots``. |
| 4 | |
| 5 | This module is kept as an import shim so that ``main.py`` continues to |
| 6 | import ``api_repos_router`` from here; the router is now empty and will be |
| 7 | removed in a future cleanup once all callers have been updated to use the |
| 8 | versioned ``/api/v1/repos/...`` endpoints. |
| 9 | """ |
| 10 | from __future__ import annotations |
| 11 | |
| 12 | import logging |
| 13 | |
| 14 | from fastapi import APIRouter |
| 15 | |
| 16 | logger = logging.getLogger(__name__) |
| 17 | |
| 18 | router = APIRouter(tags=["Repos"]) |
File History
1 commit
sha256:a10adeeb7a0169cb9900f9806ed7a973047258abb6283724fe55e8eb68ff3f0a
init: musehub initial commit
Human
171 days ago