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:
@@ -88,4 +88,4 @@ class Settings(BaseSettings):
|
||||
return self
|
||||
|
||||
|
||||
settings = Settings() # type: ignore
|
||||
settings = Settings() # type: ignore # ty: ignore[unused-ignore-comment]
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ dependencies = [
|
||||
"pydantic>2.0",
|
||||
"emails>=1.1.2,<2.0",
|
||||
"jinja2<4.0.0,>=3.1.4",
|
||||
"alembic<2.0.0,>=1.12.1",
|
||||
"alembic>=1.19.1,<2.0.0",
|
||||
"httpx<1.0.0,>=0.25.1",
|
||||
"psycopg[binary]>=3.3.4,<4.0.0",
|
||||
"sqlmodel>=0.0.39,<1.0.0",
|
||||
|
||||
Reference in New Issue
Block a user