# Path: mutant/settings.py
# STATE_CACHE_ALIAS = getattr(
#     settings, 'MUTANT_STATE_CACHE_ALIAS', DEFAULT_CACHE_ALIAS
# )


from django.core.cache import caches
from ...settings import STATE_CACHE_ALIAS
from __future__ import unicode_literals




class CacheStateHandler(object):
    """
    State handlers that relies on cache to store and retrieve the current
    checksum of a definition."
    """

    def __init__(self):

# Path: mutant/settings.py
# STATE_CACHE_ALIAS = getattr(
#     settings, 'MUTANT_STATE_CACHE_ALIAS', DEFAULT_CACHE_ALIAS
# )


# Path: mutant/state/handlers/cache.py
from django.core.cache import caches
from ...settings import STATE_CACHE_ALIAS

from __future__ import unicode_literals




class CacheStateHandler(object):
    """
    State handlers that relies on cache to store and retrieve the current
    checksum of a definition."
    """

    def __init__(self):

        self.cache = caches[STATE_CACHE_ALIAS]