def set_list(self, values):
        self.beginResetModel()
        self.items = values
        self.endResetModel()
Set the model to a new list
dataset/ETHPy150Open glue-viz/glue/glue/utils/qt/python_list_model.py/PythonListModel.set_list