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

Function require_data_scope

astrbot/dashboard/api/conversations.py:36–37  ·  view source on GitHub ↗
(request: Request)

Source from the content-addressed store, hash-verified

34
35
36async def require_data_scope(request: Request) -> AuthContext:
37 return await require_scope(request, "data")
38
39
40async def _json_or_empty(request: Request) -> dict[str, Any]:

Callers

nothing calls this directly

Calls 1

require_scopeFunction · 0.85

Tested by

no test coverage detected