async def METHOD_NAME(app, handler):
    async def middleware_handler(request):
        # noop middleware
        response = await handler(request)
        return response
    return middleware_handler