'This reads or sets the global settings stored in class.settings.'

@classmethod
def global_config(cls, key, *args):

    if args:
        cls.settings = cls.settings.copy()
        cls.settings[key] = args[0]
    else:
        return cls.settings[key]
