Home | History | Annotate | Download | only in webapp2_extras

Lines Matching defs:Config

3     webapp2_extras.config
8 This module is deprecated. See :class:`webapp2.WSGIApplication.config`.
20 'webapp2_extras.config is deprecated. '
21 'The WSGIApplication uses webapp2.Config instead.'),
31 class Config(dict):
37 The configuration object can be set as a ``config`` attribute of
41 from webapp2_extras import config as webapp2_config
52 app.config = webapp2_config.Config(my_config)
58 foo = self.app.config['my.module']['foo']
77 for module, config in values.iteritems():
78 self.update(module, config)
82 for module, config in defaults.iteritems():
83 self.setdefault(module, config)
102 # Load default configuration and update config.
209 raise KeyError('Module %r does not have the config key %r' %
213 raise KeyError('Module %r requires the config key %r to be '
225 raise KeyError('Module %r requires the config key %r to be '