Package gavo :: Package base :: Module config :: Class Configuration
[frames] | no frames]

Class Configuration

source code

                     object --+    
                              |    
utils.fancyconfig.Configuration --+
                                  |
                                 Configuration

A container for settings.

It is a fancyconfig.Configuration with the addition of making the attributes shared at the class level to ward against multiple imports (which may happen if config is imported in a weird way).

In addition, this class handles the access to database profiles.

Instance Methods
 
__init__(self, *items)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
getDBProfile(self, profileName) source code

Inherited from utils.fancyconfig.Configuration: __iter__, addFromFp, get, getUserConfig, getitem, saveUserConfig, set

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties

Inherited from object: __class__

Method Details

__init__(self, *items)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)