def METHOD_NAME(text: str, variables: Dict) -> str:
    variables = dict() if variables is None else variables
    kwargs = dict(
        variables=lambda x: variables.get(x),
        n_days_ago=n_days_ago,
        **get_template_vars(),
    )
    return Template(text).render(**kwargs)