blueprints() — flask Function Reference
Architecture documentation for the blueprints() function in wrappers.py from the flask codebase.
Entity Profile
Dependency Diagram
graph TD fabd495b_0db3_795d_c888_c583c9046a27["blueprints()"] eae007fa_ef39_ed97_113d_df4ad5001c0e["Request"] fabd495b_0db3_795d_c888_c583c9046a27 -->|defined in| eae007fa_ef39_ed97_113d_df4ad5001c0e 2424d287_48d8_ffa1_d242_225e3c3031a8["_split_blueprint_path()"] fabd495b_0db3_795d_c888_c583c9046a27 -->|calls| 2424d287_48d8_ffa1_d242_225e3c3031a8 style fabd495b_0db3_795d_c888_c583c9046a27 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
src/flask/wrappers.py lines 181–195
def blueprints(self) -> list[str]:
"""The registered names of the current blueprint upwards through
parent blueprints.
This will be an empty list if there is no current blueprint, or
if URL matching failed.
.. versionadded:: 2.0.1
"""
name = self.blueprint
if name is None:
return []
return _split_blueprint_path(name)
Domain
Subdomains
Defined In
Calls
Source
Frequently Asked Questions
What does blueprints() do?
blueprints() is a function in the flask codebase, defined in src/flask/wrappers.py.
Where is blueprints() defined?
blueprints() is defined in src/flask/wrappers.py at line 181.
What does blueprints() call?
blueprints() calls 1 function(s): _split_blueprint_path.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free