def persist(self, record):
        """Persists a record.  This will put it into the persistent cache."""
        cache_key = self._get_cache_key(record)
        self.persistent[cache_key] = record
        try:
            del self.ephemeral[cache_key]
        except __HOLE__:
            pass
dataset/ETHPy150Open lektor/lektor/lektor/db.py/RecordCache.persist