OpenQuizz
Une application de gestion des contenus pédagogiques
|
Public Member Functions | |
def | __init__ (self, app) |
def | push (self) |
def | pop (self, exc=_sentinel) |
def | __enter__ (self) |
def | __exit__ (self, exc_type, exc_value, tb) |
Data Fields | |
app | |
url_adapter | |
g | |
The application context binds an application object implicitly to the current thread or greenlet, similar to how the :class:`RequestContext` binds request information. The application context is also implicitly created if a request context is created but the application is not on top of the individual application context.
def __init__ | ( | self, | |
app | |||
) |
def __enter__ | ( | self | ) |
def __exit__ | ( | self, | |
exc_type, | |||
exc_value, | |||
tb | |||
) |
def pop | ( | self, | |
exc = _sentinel |
|||
) |
Pops the app context.
def push | ( | self | ) |
Binds the app context to the current context.
app |
g |
url_adapter |