def visit_middleware(self, middleware: MiddlewareInfo) -> str:
    'Visit a MiddlewareInfo instance. Usually called by `process`.'
    text = self.process(middleware.middleware_tree)
    if self.verbose:
        self.indent += 4
        m_text = '\n'.join((self.process(m) for m in middleware.middleware_classes))
        self.indent -= 4
        if m_text:
            text += '\n{}- Middlewares classes:\n{}'.format(self.tab, m_text)
    return text
Visit a MiddlewareInfo instance. Usually called by `process`.
def visit_middleware(self, middleware: MiddlewareInfo) -> str:
    
    text = self.process(middleware.middleware_tree)
    if self.verbose:
        self.indent += 4
        m_text = '\n'.join((self.process(m) for m in middleware.middleware_classes))
        self.indent -= 4
        if m_text:
            text += '\n{}- Middlewares classes:\n{}'.format(self.tab, m_text)
    return text