vigiboard / dashboard / lib / app_globals.py @ 70c5f034
History | View | Annotate | Download (419 Bytes)
1 | 805cc54a | Thomas ANDREJAK | # -*- coding: utf-8 -*-
|
---|---|---|---|
2 | |||
3 | """The application's Globals object"""
|
||
4 | |||
5 | __all__ = ['Globals']
|
||
6 | |||
7 | |||
8 | class Globals(object): |
||
9 | """Container for objects available throughout the life of the application.
|
||
10 |
|
||
11 | One instance of Globals is created during application initialization and
|
||
12 | is available during requests via the 'app_globals' variable.
|
||
13 |
|
||
14 | """
|
||
15 | |||
16 | def __init__(self): |
||
17 | """Do nothing, by default."""
|
||
18 | pass |