def __init__(self, middleware_tree: MiddlewareTreeInfo, middleware_classes: List[MiddlewareClassInfo], independent: bool):
    self.middleware_tree = middleware_tree
    self.middleware_classes = middleware_classes
    self.independent = independent
    if independent:
        self.independent_text = 'Middleware are independent'
    else:
        self.independent_text = 'Middleware are dependent'
def __init__(self, middleware_tree: MiddlewareTreeInfo, middleware_classes: List[MiddlewareClassInfo], independent: bool):
    self.middleware_tree = middleware_tree
    self.middleware_classes = middleware_classes
    self.independent = independent
    if independent:
        self.independent_text = 'Middleware are independent'
    else:
        self.independent_text = 'Middleware are dependent'