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

Function _run

astrbot/dashboard/api/updates.py:77–82  ·  view source on GitHub ↗
(operation)

Source from the content-addressed store, hash-verified

75
76
77async def _run(operation) -> JSONResponse:
78 try:
79 result = await run_maybe_async(operation)
80 return _service_response(result)
81 except UpdateServiceError as exc:
82 return _service_error(exc)
83
84
85@router.get("/updates/check")

Callers 12

check_updatesFunction · 0.70
check_dashboard_updatesFunction · 0.70
update_releasesFunction · 0.70
update_progressFunction · 0.70
update_coreFunction · 0.70
update_dashboard_coreFunction · 0.70
update_dashboardFunction · 0.70
update_dashboard_assetsFunction · 0.70
install_pip_packageFunction · 0.70

Calls 3

run_maybe_asyncFunction · 0.90
_service_responseFunction · 0.85
_service_errorFunction · 0.70

Tested by

no test coverage detected