def __reduce__(self):
        # We need to remove 'joblib' from the end of cachedir
        cachedir = self.cachedir[:-7] if self.cachedir is not None else None
        return (self.__class__, (cachedir,
                self.mmap_mode, self.compress, self._verbose))
We don't store the timestamp when pickling, to avoid the hash
dataset/ETHPy150Open scikit-learn/scikit-learn/sklearn/externals/joblib/memory.py/Memory.__reduce__