MCPcopy
hub / github.com/faust-streaming/faust / _dispatch

Method _dispatch

faust/web/drivers/aiohttp.py:246–247  ·  view source on GitHub ↗
(request: base.Request)

Source from the content-addressed store, hash-verified

244 # but aiohttp doesn't recognize it as such and emits the warning.
245 # To avoid that we just wrap it in an `async def` function
246 async def _dispatch(request: base.Request) -> base.Response:
247 return await handler(request)
248
249 _dispatch.__doc__ = handler.__doc__
250 return _dispatch

Callers

nothing calls this directly

Calls 1

handlerFunction · 0.85

Tested by

no test coverage detected