dosma.preferences

dosma.preferences = <dosma.defaults._Preferences object>

A pseudo-Singleton class implementation to track preferences.

Do not instantiate this class. To modify/update preferences use the preferences module variable defined below.

However, in the case this class is instantiated, a new object will be created, but all config properties will be shared among all instances. Meaning modifying the config in one instance will impact the preferences state in another instance.