You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
from __future__ import annotations
|
|
|
|
|
|
|
|
from blinker import Namespace
|
|
|
|
|
|
|
|
# This namespace is only for signals provided by Flask itself.
|
|
|
|
_signals = Namespace()
|
|
|
|
|
|
|
|
template_rendered = _signals.signal("template-rendered")
|
|
|
|
before_render_template = _signals.signal("before-render-template")
|
|
|
|
request_started = _signals.signal("request-started")
|
|
|
|
request_finished = _signals.signal("request-finished")
|
|
|
|
request_tearing_down = _signals.signal("request-tearing-down")
|
|
|
|
got_request_exception = _signals.signal("got-request-exception")
|
|
|
|
appcontext_tearing_down = _signals.signal("appcontext-tearing-down")
|
|
|
|
appcontext_pushed = _signals.signal("appcontext-pushed")
|
|
|
|
appcontext_popped = _signals.signal("appcontext-popped")
|
|
|
|
message_flashed = _signals.signal("message-flashed")
|