From a87de46caa0101d5f20e3dabcaf6e5d5305ada36 Mon Sep 17 00:00:00 2001 From: Giancarlo Romeo Date: Thu, 21 Nov 2024 13:39:24 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20Redis=20DSN=20scheme=20gen?= =?UTF-8?q?eration=20(#6790)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/settings-library/src/settings_library/redis.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/settings-library/src/settings_library/redis.py b/packages/settings-library/src/settings_library/redis.py index 1fd7e4ac197..7e3b0e7b693 100644 --- a/packages/settings-library/src/settings_library/redis.py +++ b/packages/settings-library/src/settings_library/redis.py @@ -33,7 +33,7 @@ class RedisSettings(BaseCustomSettings): def build_redis_dsn(self, db_index: RedisDatabase) -> str: return str( RedisDsn.build( # pylint: disable=no-member - scheme="redis", + scheme="rediss" if self.REDIS_SECURE else "redis", username=self.REDIS_USER or None, password=( self.REDIS_PASSWORD.get_secret_value()