def __init__(self, items, switch_programs_file=None): Proxy.__init__(self, items) Switch.__init__(self) with open(switch_programs_file) as data_file: self.switch_programs = json.load(data_file) for switch in self.items: self.items[switch].set_forward(self)
def __init__(self, items): Proxy.__init__(self, items) Writer.__init__(self)