MCPcopy Create free account
hub / github.com/nodejs/node / _invoke

Method _invoke

deps/v8/third_party/jinja2/runtime.py:773–782  ·  view source on GitHub ↗
(self, arguments: t.List[t.Any], autoescape: bool)

Source from the content-addressed store, hash-verified

771 return rv # type: ignore
772
773 def _invoke(self, arguments: t.List[t.Any], autoescape: bool) -> str:
774 if self._environment.is_async:
775 return self._async_invoke(arguments, autoescape) # type: ignore
776
777 rv = self._func(*arguments)
778
779 if autoescape:
780 rv = Markup(rv)
781
782 return rv
783
784 def __repr__(self) -> str:
785 name = "anonymous" if self.name is None else repr(self.name)

Callers 1

__call__Method · 0.95

Calls 2

_async_invokeMethod · 0.95
MarkupClass · 0.90

Tested by

no test coverage detected