1 """The application's Globals object"""
3 from beaker.cache import CacheManager
4 from beaker.util import parse_cache_config_options
8 """Globals acts as a container for objects available throughout the
9 life of the application
13 def __init__(self, config):
14 """One instance of Globals is created during application
15 initialization and is available during requests via the
16 'app_globals' variable
19 self.cache = CacheManager(**parse_cache_config_options(config))