MCPcopy
hub / github.com/fastapi/fastapi / __call__

Method __call__

fastapi/middleware/asyncexitstack.py:15–18  ·  view source on GitHub ↗
(self, scope: Scope, receive: Receive, send: Send)

Source from the content-addressed store, hash-verified

13 self.context_name = context_name
14
15 async def __call__(self, scope: Scope, receive: Receive, send: Send) -> None:
16 async with AsyncExitStack() as stack:
17 scope[self.context_name] = stack
18 await self.app(scope, receive, send)

Callers

nothing calls this directly

Calls 1

appMethod · 0.80

Tested by

no test coverage detected