mirror of
https://github.com/fastapi/full-stack-fastapi-template.git
synced 2026-11-03 12:29:42 +00:00
⬆ Bump the python-packages group with 4 updates (#2466)
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Yurii Motov <yurii.motov.monte@gmail.com>
This commit is contained in:
@@ -26,7 +26,8 @@ def render_email_template(*, template_name: str, context: dict[str, Any]) -> str
|
||||
template_str = (
|
||||
Path(__file__).parent / "email-templates" / template_name
|
||||
).read_text()
|
||||
html_content = Template(template_str).render(context)
|
||||
template: Template = Template(template_str)
|
||||
html_content = template.render(context)
|
||||
return html_content
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user