Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
30
async
def
require_system_scope(request: Request) -> AuthContext:
31
return
await require_scope(request,
"system"
)
32
33
34
def
_model_dict(payload) -> dict:
Callers
nothing calls this directly
Calls
1
require_scope
Function · 0.85
Tested by
no test coverage detected