Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pallets/flask
/ _split_blueprint_path
Function
_split_blueprint_path
src/flask/helpers.py:635–641 ·
view source on GitHub ↗
(name: str)
Source
from the content-addressed store, hash-verified
633
634
@cache
635
def
_split_blueprint_path(name: str) -> list[str]:
636
out: list[str] = [name]
637
638
if
"."
in name:
639
out.extend(_split_blueprint_path(name.rpartition(
"."
)[0]))
640
641
return
out
Callers
2
blueprints
Method · 0.85
inject_url_defaults
Method · 0.85
Calls
1
extend
Method · 0.80
Tested by
no test coverage detected