engineer.conf¶
-
class
engineer.conf.
EngineerConfiguration
(settings_file=None)[source]¶ Stores all of the configuration settings for a given Engineer site.
This class uses the Borg design pattern and shares state among all instances of the class.
There seem to be a lot of differing opinions about whether this design pattern is A Good Idea (tm) or not. It definitely seems better than Singletons since it enforces behavior, not structure, but it’s also possible there’s a better way to do it in Python with judicious use of globals.