ap-test/ap/config.py
Aravinth Manivannan 73430848e8
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
feat: init ap server w webfinger endpoint
2023-10-06 19:14:14 +05:30

12 lines
294 B
Python

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