def add_obj(self, obj_record): self.add(obj_record) indx = len(self.wmf_objs) self.wmf_objs.append(obj_record) self.latest_objs.append(indx) self.add(wmf_model.select_obj(indx))