def visit_middleware_method(self, middleware_method: MiddlewareMethodInfo) -> str:
    'Visit a MiddlewareMethodInfo instance. Usually called by `process`.'
    text = '{0.function_name}'.format(middleware_method)
    if self.verbose:
        text += ' ({0.source_info})'.format(middleware_method)
    return text
Visit a MiddlewareMethodInfo instance. Usually called by `process`.
def visit_middleware_method(self, middleware_method: MiddlewareMethodInfo) -> str:
    
    text = '{0.function_name}'.format(middleware_method)
    if self.verbose:
        text += ' ({0.source_info})'.format(middleware_method)
    return text