class documentation

class Macro:

View In Hierarchy

Wraps a macro function.
Method __call__ Undocumented
Method __init__ Undocumented
Method __repr__ Undocumented
Async Method ​_async​_invoke Undocumented
Method ​_invoke Undocumented
Instance Variable ​_argument​_count Undocumented
Instance Variable ​_default​_autoescape Undocumented
Instance Variable ​_environment Undocumented
Instance Variable ​_func Undocumented
Instance Variable arguments Undocumented
Instance Variable caller Undocumented
Instance Variable catch​_kwargs Undocumented
Instance Variable catch​_varargs Undocumented
Instance Variable explicit​_caller Undocumented
Instance Variable name Undocumented
@internalcode
@pass_eval_context
def __call__(self, *args, **kwargs):

Undocumented

Parameters
*args:t.AnyUndocumented
**kwargs:t.AnyUndocumented
Returns
strUndocumented
def __init__(self, environment, func, name, arguments, catch_kwargs, catch_varargs, caller, default_autoescape=None):

Undocumented

Parameters
environment:EnvironmentUndocumented
func:t.Callable[..., str]Undocumented
name:strUndocumented
arguments:t.List[str]Undocumented
catch​_kwargs:boolUndocumented
catch​_varargs:boolUndocumented
caller:boolUndocumented
default​_autoescape:t.Optional[bool]Undocumented
def __repr__(self):

Undocumented

Returns
strUndocumented
async def _async_invoke(self, arguments, autoescape):

Undocumented

Parameters
arguments:t.List[t.Any]Undocumented
autoescape:boolUndocumented
Returns
strUndocumented
def _invoke(self, arguments, autoescape):

Undocumented

Parameters
arguments:t.List[t.Any]Undocumented
autoescape:boolUndocumented
Returns
strUndocumented
_argument_count =

Undocumented

_default_autoescape =

Undocumented

_environment =

Undocumented

_func =

Undocumented

arguments =

Undocumented

caller =

Undocumented

catch_kwargs =

Undocumented

catch_varargs =

Undocumented

explicit_caller =

Undocumented

name =

Undocumented