Home / Function/ _split_blueprint_path() — flask Function Reference

_split_blueprint_path() — flask Function Reference

Architecture documentation for the _split_blueprint_path() function in helpers.py from the flask codebase.

Entity Profile

Dependency Diagram

graph TD
  2424d287_48d8_ffa1_d242_225e3c3031a8["_split_blueprint_path()"]
  881f9803_28d6_7d77_c8d7_1098b41ccf84["helpers.py"]
  2424d287_48d8_ffa1_d242_225e3c3031a8 -->|defined in| 881f9803_28d6_7d77_c8d7_1098b41ccf84
  fabd495b_0db3_795d_c888_c583c9046a27["blueprints()"]
  fabd495b_0db3_795d_c888_c583c9046a27 -->|calls| 2424d287_48d8_ffa1_d242_225e3c3031a8
  style 2424d287_48d8_ffa1_d242_225e3c3031a8 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

src/flask/helpers.py lines 632–638

def _split_blueprint_path(name: str) -> list[str]:
    out: list[str] = [name]

    if "." in name:
        out.extend(_split_blueprint_path(name.rpartition(".")[0]))

    return out

Subdomains

Called By

Frequently Asked Questions

What does _split_blueprint_path() do?
_split_blueprint_path() is a function in the flask codebase, defined in src/flask/helpers.py.
Where is _split_blueprint_path() defined?
_split_blueprint_path() is defined in src/flask/helpers.py at line 632.
What calls _split_blueprint_path()?
_split_blueprint_path() is called by 1 function(s): blueprints.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free