MCPcopy
hub / github.com/AstrBotDevs/AstrBot / dashboard_update_progress

Function dashboard_update_progress

astrbot/dashboard/api/updates.py:129–134  ·  view source on GitHub ↗
(
    progress_id: str | None = Query(default=None, alias="id"),
    _username: str = Depends(require_dashboard_user),
    service: UpdateService = Depends(get_service),
)

Source from the content-addressed store, hash-verified

127
128@legacy_router.get("/progress")
129async def dashboard_update_progress(
130 progress_id: str | None = Query(default=None, alias="id"),
131 _username: str = Depends(require_dashboard_user),
132 service: UpdateService = Depends(get_service),
133):
134 return await _run(lambda: service.get_update_progress(progress_id or ""))
135
136
137@router.post("/updates/core")

Callers

nothing calls this directly

Calls 2

get_update_progressMethod · 0.80
_runFunction · 0.70

Tested by

no test coverage detected