Package cherrypy :: Module _cpconfig :: Class Config
[hide private]
[frames] | no frames]

Class Config

source code

     object --+        
              |        
           dict --+    
                  |    
lib.reprconf.Config --+
                      |
                     Config

The 'global' configuration data for the entire CherryPy process.

Instance Methods [hide private]
None
update(self, config)
Update self from a dict, file or filename.
source code
 
_apply(self, config)
Update self from a dict.
source code
 
__call__(self, *args, **kwargs)
Decorator for page handlers to set _cp_config.
source code

Inherited from lib.reprconf.Config: __init__, __setitem__, reset

Inherited from dict: __cmp__, __contains__, __delitem__, __eq__, __ge__, __getattribute__, __getitem__, __gt__, __iter__, __le__, __len__, __lt__, __ne__, __new__, __repr__, __sizeof__, clear, copy, fromkeys, get, has_key, items, iteritems, iterkeys, itervalues, keys, pop, popitem, setdefault, values, viewitems, viewkeys, viewvalues

Inherited from object: __delattr__, __format__, __reduce__, __reduce_ex__, __setattr__, __str__, __subclasshook__

Class Variables [hide private]
  environments = {'embedded': {'checker.on': False, 'engine.SIGH...

Inherited from lib.reprconf.Config: defaults, namespaces

Inherited from dict: __hash__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

update(self, config)

source code 

Update self from a dict, file or filename.

Returns: None
Overrides: dict.update

_apply(self, config)

source code 

Update self from a dict.

Overrides: lib.reprconf.Config._apply

Class Variable Details [hide private]

environments

Value:
{'embedded': {'checker.on': False,
              'engine.SIGHUP': None,
              'engine.SIGTERM': None,
              'engine.autoreload_on': False,
              'log.screen': False,
              'request.show_mismatched_params': False,
              'request.show_tracebacks': False,
              'tools.log_headers.on': False},
...