# Copyright 2022-2023 The Wazo Authors  (see the AUTHORS file)
# SPDX-License-Identifier: GPL-3.0-or-later

from functools import lru_cache

from .services import CommonConf

config = None


@lru_cache
def get_commonconf():
    commonconf = CommonConf()
    commonconf.safe_init(config)
    return commonconf
