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

Method json

astrbot/api/web.py:309–310  ·  view source on GitHub ↗
(self, default: DefaultT | None = None)

Source from the content-addressed store, hash-verified

307 return await self._get_current().body()
308
309 async def json(self, default: DefaultT | None = None) -> Any | DefaultT | None:
310 return await self._get_current().json(default=default)
311
312 async def form(self) -> PluginMultiDict[str]:
313 return await self._get_current().form()

Callers

nothing calls this directly

Calls 2

_get_currentMethod · 0.95
jsonMethod · 0.45

Tested by

no test coverage detected