from ftest_common.logger import logger class Config(object): _instance = None options = {} def __new__(cls): if cls._instance is None: logger.info("Creating the config") cls._instance = super(Config, cls).__new__(cls) return cls._instance