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

Method _render

src/jinja2/ext.py:644–652  ·  view source on GitHub ↗
(self, context: Context)

Source from the content-addressed store, hash-verified

642 return nodes.Output([result], lineno=lineno)
643
644 def _render(self, context: Context) -> str:
645 result = {
646 "context": context.get_all(),
647 "filters": sorted(self.environment.filters.keys()),
648 "tests": sorted(self.environment.tests.keys()),
649 }
650
651 # Set the depth since the intent is to show the top few names.
652 return pprint.pformat(result, depth=3, compact=True)
653
654
655def extract_from_ast(

Callers

nothing calls this directly

Calls 2

get_allMethod · 0.80
keysMethod · 0.80

Tested by

no test coverage detected