def __init__(self, name: str, source_info: str, methods: List[MiddlewareMethodInfo]):
    self.name = name
    self.source_info = source_info
    self.methods = methods
def __init__(self, name: str, source_info: str, methods: List[MiddlewareMethodInfo]):
    self.name = name
    self.source_info = source_info
    self.methods = methods