def visit_middleware_tree_item(self, mti: MiddlewareTreeItemInfo) -> str:
    'Visit a MiddlewareTreeItemInfo instance. Usually called by `process`.'
    symbol = mti._symbols.get(mti.name, '→')
    return '{0}{1} {2.class_name}.{2.name}'.format(self.tab, symbol, mti)
Visit a MiddlewareTreeItemInfo instance. Usually called by `process`.
def visit_middleware_tree_item(self, mti: MiddlewareTreeItemInfo) -> str:
    
    symbol = mti._symbols.get(mti.name, '→')
    return '{0}{1} {2.class_name}.{2.name}'.format(self.tab, symbol, mti)