def __new__(cls, *args, **kwargs):

        if not cls._instance:
            cls._instance = super(Settings, cls).__new__(cls, *args, **kwargs)
        return cls._instance
Set this class up as a singleton.
dataset/ETHPy150Open Nextdoor/ndscheduler/ndscheduler/__init__.py/Settings.__new__