vigigraph / vigigraph / lib / app_globals.py @ 56b77667
History | View | Annotate | Download (516 Bytes)
1 | 0931fc44 | Thomas BURGUIERE | # -*- coding: utf-8 -*-
|
---|---|---|---|
2 | 56b77667 | Francois POIROTTE | # Copyright (C) 2011-2020 CS-SI
|
3 | 7c76ae22 | Aurelien BOMPARD | # License: GNU GPL v2 <http://www.gnu.org/licenses/gpl-2.0.html>
|
4 | 0931fc44 | Thomas BURGUIERE | |
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 |