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

Method items

src/jinja2/utils.py:555–559  ·  view source on GitHub ↗

Return a list of items.

(self)

Source from the content-addressed store, hash-verified

553 pass
554
555 def items(self) -> t.Iterable[t.Tuple[t.Any, t.Any]]:
556 """Return a list of items."""
557 result = [(key, self._mapping[key]) for key in list(self._queue)]
558 result.reverse()
559 return result
560
561 def values(self) -> t.Iterable[t.Any]:
562 """Return a list of all values."""

Callers 15

valuesMethod · 0.95
test_itemsMethod · 0.95
list_templatesMethod · 0.80
_make_nodeMethod · 0.80
new_contextFunction · 0.80
__init__Method · 0.80
derivedMethod · 0.80
do_urlencodeFunction · 0.80
do_itemsFunction · 0.80
do_xmlattrFunction · 0.80
do_dictsortFunction · 0.80
enter_frameMethod · 0.80

Calls

no outgoing calls

Tested by 2

test_itemsMethod · 0.76
test_operatorsMethod · 0.64