signals.py — flask Source File
Architecture documentation for signals.py, a python file in the flask codebase. 1 imports, 5 dependents.
Entity Profile
Dependency Diagram
graph LR f7678070_c632_9fab_268f_e2310036493f["signals.py"] f2a996c5_51b4_aa61_d5b7_fbee1d43e7c2["blinker"] f7678070_c632_9fab_268f_e2310036493f --> f2a996c5_51b4_aa61_d5b7_fbee1d43e7c2 e1ae29a1_73d3_d5e9_3fd5_548f4ac50138["__init__.py"] e1ae29a1_73d3_d5e9_3fd5_548f4ac50138 --> f7678070_c632_9fab_268f_e2310036493f 9612cfdd_2178_92c0_2ed7_16ebb0c72901["app.py"] 9612cfdd_2178_92c0_2ed7_16ebb0c72901 --> f7678070_c632_9fab_268f_e2310036493f 49f8280b_d7dc_110c_b848_8e7e56bfb19b["ctx.py"] 49f8280b_d7dc_110c_b848_8e7e56bfb19b --> f7678070_c632_9fab_268f_e2310036493f 881f9803_28d6_7d77_c8d7_1098b41ccf84["helpers.py"] 881f9803_28d6_7d77_c8d7_1098b41ccf84 --> f7678070_c632_9fab_268f_e2310036493f 554becd3_25b5_c670_a654_7a20377dec19["templating.py"] 554becd3_25b5_c670_a654_7a20377dec19 --> f7678070_c632_9fab_268f_e2310036493f style f7678070_c632_9fab_268f_e2310036493f fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
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")
Domain
Dependencies
- blinker
Imported By
Source
Frequently Asked Questions
What does signals.py do?
signals.py is a source file in the flask codebase, written in python. It belongs to the ApplicationCore domain.
What does signals.py depend on?
signals.py imports 1 module(s): blinker.
What files import signals.py?
signals.py is imported by 5 file(s): __init__.py, app.py, ctx.py, helpers.py, templating.py.
Where is signals.py in the architecture?
signals.py is located at src/flask/signals.py (domain: ApplicationCore, directory: src/flask).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free