Method
_async_invoke
(self, arguments: t.List[t.Any], autoescape: bool)
Source from the content-addressed store, hash-verified
| 763 | return self._invoke(arguments, autoescape) |
| 764 | |
| 765 | async def _async_invoke(self, arguments: t.List[t.Any], autoescape: bool) -> str: |
| 766 | rv = await self._func(*arguments) # type: ignore |
| 767 | |
| 768 | if autoescape: |
| 769 | return Markup(rv) |
| 770 | |
| 771 | return rv # type: ignore |
| 772 | |
| 773 | def _invoke(self, arguments: t.List[t.Any], autoescape: bool) -> str: |
| 774 | if self._environment.is_async: |
Tested by
no test coverage detected