def update_trigger(method):
        def wrapper(self, *args, **kwargs):
            self._dirty = True
            val = method(self, *args, **kwargs)
            if self._dirty:
                self.update_trigger_helper()
                self._dirty = False
        
        return wrapper
Decorator for methods that update the index.  Used as a post-update
dataset/ETHPy150Open taherh/pysimsearch/pysimsearch/sim_index/sim_index_collection.py/SimIndexCollection.update_trigger