vigiboard / vigiboard / lib / app_globals.py @ c94dc931
History | View | Annotate | Download (516 Bytes)
1 | 57f7cb3f | Gabriel DE PERTHUIS | # -*- coding: utf-8 -*-
|
---|---|---|---|
2 | c94dc931 | Francois POIROTTE | # Copyright (C) 2007-2020 CS-SI
|
3 | 9b8d9497 | Francois POIROTTE | # License: GNU GPL v2 <http://www.gnu.org/licenses/gpl-2.0.html>
|
4 | 57f7cb3f | Gabriel DE PERTHUIS | |
5 | """The application's Globals object"""
|
||
6 | |||
7 | __all__ = ['Globals']
|
||
8 | |||
9 | |||
10 | class Globals(object): |
||
11 | """Container for objects available throughout the life of the application.
|
||
12 |
|
||
13 | One instance of Globals is created during application initialization and
|
||
14 | is available during requests via the 'app_globals' variable.
|
||
15 |
|
||
16 | """
|
||
17 | |||
18 | def __init__(self): |
||
19 | """Do nothing, by default."""
|
||
20 | pass |