MCPcopy
hub / github.com/pallets/jinja / values

Method values

src/jinja2/utils.py:561–563  ·  view source on GitHub ↗

Return a list of all values.

(self)

Source from the content-addressed store, hash-verified

559 return result
560
561 def values(self) -> t.Iterable[t.Any]:
562 """Return a list of all values."""
563 return [x[1] for x in self.items()]
564
565 def keys(self) -> t.Iterable[t.Any]:
566 """Return a list of all keys ordered by most recent usage."""

Callers 5

test_valuesMethod · 0.95
test_values_emptyMethod · 0.95
test_itemsMethod · 0.95
iter_extensionsMethod · 0.80
test_rebindingMethod · 0.80

Calls 1

itemsMethod · 0.95

Tested by 4

test_valuesMethod · 0.76
test_values_emptyMethod · 0.76
test_itemsMethod · 0.76
test_rebindingMethod · 0.64