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

Method __init__

tests/test_fastapi_v1_dashboard.py:1978–1983  ·  view source on GitHub ↗
(self, status: int, *, text: str = "", payload=None)

Source from the content-addressed store, hash-verified

1976
1977 class FakeResponse:
1978 def __init__(self, status: int, *, text: str = "", payload=None):
1979 self.status = status
1980 self._text = text
1981 self._payload = payload or {}
1982 self.headers = {}
1983 self.content = FakeContent(text)
1984
1985 async def __aenter__(self):
1986 return self

Callers

nothing calls this directly

Calls 1

FakeContentClass · 0.85

Tested by

no test coverage detected