def __getstate__(self):
        d = self.__dict__.copy()
        d.pop('cache', None)
        return d
Flask-Cache instance is not picklable because it has references
dataset/ETHPy150Open iurisilvio/Flask-SQLAlchemy-Cache/flask_sqlalchemy_cache/core.py/_CacheableMapperOption.__getstate__