MCPcopy
hub / github.com/pallets/werkzeug / _rules

Method _rules

src/werkzeug/routing/map.py:155–156  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

153
154 @property
155 def _rules(self) -> list[Rule]:
156 return [rule for rules in self._rules_by_endpoint.values() for rule in rules]
157
158 def iter_rules(self, endpoint: t.Any | None = None) -> t.Iterator[Rule]:
159 """Iterate over all rules or the rules of an endpoint.

Callers

nothing calls this directly

Calls 1

valuesMethod · 0.45

Tested by

no test coverage detected