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

Function update_dashboard_assets

astrbot/dashboard/api/updates.py:164–168  ·  view source on GitHub ↗
(
    _username: str = Depends(require_dashboard_user),
    service: UpdateService = Depends(get_service),
)

Source from the content-addressed store, hash-verified

162
163@legacy_router.post("/dashboard")
164async def update_dashboard_assets(
165 _username: str = Depends(require_dashboard_user),
166 service: UpdateService = Depends(get_service),
167):
168 return await _run(service.update_dashboard)
169
170
171@router.post("/pip/install")

Callers

nothing calls this directly

Calls 1

_runFunction · 0.70

Tested by

no test coverage detected