MCPcopy
hub / github.com/encode/starlette / __call__

Method __call__

starlette/testclient.py:77–79  ·  view source on GitHub ↗
(self, scope: Scope, receive: Receive, send: Send)

Source from the content-addressed store, hash-verified

75 self.app = app
76
77 async def __call__(self, scope: Scope, receive: Receive, send: Send) -> None:
78 instance = self.app(scope)
79 await instance(receive, send)
80
81
82class _AsyncBackend(TypedDict):

Callers

nothing calls this directly

Calls 1

appMethod · 0.45

Tested by

no test coverage detected