def load(self, label): query = Query() self.__dict__.update(self.table.search(query.label == label)[0])