MCPcopy
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
635def _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

blueprintsMethod · 0.85
inject_url_defaultsMethod · 0.85

Calls 1

extendMethod · 0.80

Tested by

no test coverage detected