From 8c76462b4cd75e2d28b71a6940880ba056f497c0 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 20 Jan 2025 21:24:32 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- api/app/utils.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/api/app/utils.py b/api/app/utils.py index c414a1c79f8e..5b45c12d4aa0 100644 --- a/api/app/utils.py +++ b/api/app/utils.py @@ -4,11 +4,12 @@ from typing import TypedDict import shortuuid + from app.settings.common import ( + AWS_SES_REGION_ENDPOINT, EMAIL_BACKEND, EMAIL_HOST_USER, SENDGRID_API_KEY, - AWS_SES_REGION_ENDPOINT, ) UNKNOWN = "unknown" @@ -47,6 +48,7 @@ def has_email_provider() -> bool: case _: return False + @lru_cache def get_version_info() -> VersionInfo: """Reads the version info baked into src folder of the docker container"""