<gh_stars>0
from hestia.service_interface import LazyServiceWrapper

from django.conf import settings

from conf.option_manager import option_manager
from conf.service import ConfService


def get_conf_backend():
    return settings.CONF_BACKEND or 'conf.cluster_conf_service.ClusterConfService'


backend = LazyServiceWrapper(
    backend_base=ConfService,
    backend_path=get_conf_backend(),
    options={}
)
backend.expose(locals())

subscribe = option_manager.subscribe

from hestia.service_interface import LazyServiceWrapper

from django.conf import settings

from conf.option_manager import option_manager
from conf.service import ConfService


def get_conf_backend():
    return settings.CONF_BACKEND or 'conf.cluster_conf_service.ClusterConfService'


backend = LazyServiceWrapper(
    backend_base=ConfService,
    backend_path=get_conf_backend(),
    options={}
)
backend.expose(locals())

subscribe = option_manager.subscribe