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"""