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

Method __call__

tests/middleware/test_middleware.py:11–12  ·  view source on GitHub ↗
(self, scope: Scope, receive: Receive, send: Send)

Source from the content-addressed store, hash-verified

9 self.bar = bar
10
11 async def __call__(self, scope: Scope, receive: Receive, send: Send) -> None:
12 await self.app(scope, receive, send)
13
14
15def test_middleware_repr() -> None:

Callers

nothing calls this directly

Calls 1

appMethod · 0.45

Tested by

no test coverage detected