def __init__(self, file_dict): DAO.__init__(self, file_dict) #defaults/optional values if 'local_size' in file_dict: self.local_size = file_dict['local_size'] else: self.local_size = 0 #now parse the endpoints self.endpoints = [] for ep in file_dict['endpoints']: self.endpoints.append(ReplicaEndpointDAO(ep))
def __init__(self): Base.__init__(self) DAO.__init__(self)
def __init__(self, endpoint_dict): DAO.__init__(self, endpoint_dict)