MCPcopy Index your code
hub / github.com/AstrBotDevs/AstrBot / require_system_scope

Function require_system_scope

astrbot/dashboard/api/updates.py:30–31  ·  view source on GitHub ↗
(request: Request)

Source from the content-addressed store, hash-verified

28
29
30async def require_system_scope(request: Request) -> AuthContext:
31 return await require_scope(request, "system")
32
33
34def _model_dict(payload) -> dict:

Callers

nothing calls this directly

Calls 1

require_scopeFunction · 0.85

Tested by

no test coverage detected