def decode(self, value, value_type):
        if value_type == 'i':
            return int(value)

        if value_type == 'z':
            value = zlib.decompress(value)
            value_type = 'p'

        if value_type == 'p':
            return pickle.loads(force_bytes(value))

        raise ValueError(
            "Unknown value_type '{}' read from the cache table."
            .format(value_type)
        )
Creates all database tables
dataset/ETHPy150Open adamchainz/django-mysql/django_mysql/cache.py/MySQLCache.decode--crossover with--dataset/ETHPy150Open mitsuhiko/flask-feedback/manage.py/initdb