Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.8/site-packages/flask/signals.py: 100%

Shortcuts on this page

r m x   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

13 statements  

1from __future__ import annotations 

2 

3from blinker import Namespace 

4 

5# This namespace is only for signals provided by Flask itself. 

6_signals = Namespace() 

7 

8template_rendered = _signals.signal("template-rendered") 

9before_render_template = _signals.signal("before-render-template") 

10request_started = _signals.signal("request-started") 

11request_finished = _signals.signal("request-finished") 

12request_tearing_down = _signals.signal("request-tearing-down") 

13got_request_exception = _signals.signal("got-request-exception") 

14appcontext_tearing_down = _signals.signal("appcontext-tearing-down") 

15appcontext_pushed = _signals.signal("appcontext-pushed") 

16appcontext_popped = _signals.signal("appcontext-popped") 

17message_flashed = _signals.signal("message-flashed")