MCPcopy Index your code
hub / github.com/nodejs/node / load

Method load

tools/inspector_protocol/jinja2/loaders.py:359–366  ·  view source on GitHub ↗
(self, environment, name, globals=None)

Source from the content-addressed store, hash-verified

357
358 @internalcode
359 def load(self, environment, name, globals=None):
360 loader, local_name = self.get_loader(name)
361 try:
362 return loader.load(environment, local_name, globals)
363 except TemplateNotFound:
364 # re-raise the exception with the correct filename here.
365 # (the one that includes the prefix)
366 raise TemplateNotFound(name)
367
368 def list_templates(self):
369 result = []

Callers

nothing calls this directly

Calls 3

get_loaderMethod · 0.95
TemplateNotFoundClass · 0.90
loadMethod · 0.45

Tested by

no test coverage detected