import jinja2


async def generate_str_output(env: jinja2.Environment, tpl_context: dict):
    """Iterate over a list of Jinja templates and return a concatenated string"""
    string_content = ""
    for tpl_path in env.list_templates():
        tpl = env.get_template(tpl_path)
        string_content += f'{tpl_path}:\n\n{tpl.render(tpl_context)}\n\n{"-" * 64}\n\n'
    return string_content