From 4ad27088f3582fc07d7cdd73c602006d2b1d9141 Mon Sep 17 00:00:00 2001 From: Bowen Liang Date: Sat, 10 May 2025 23:46:56 +0800 Subject: [PATCH] sytle --- api/extensions/ext_redis.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api/extensions/ext_redis.py b/api/extensions/ext_redis.py index aa149711ab..ebf8597fbe 100644 --- a/api/extensions/ext_redis.py +++ b/api/extensions/ext_redis.py @@ -1,6 +1,7 @@ from typing import Any, Union import redis +from redis.cache import CacheConfig from redis.cluster import ClusterNode, RedisCluster from redis.connection import Connection, SSLConnection from redis.sentinel import Sentinel @@ -8,7 +9,7 @@ from redis.sentinel import Sentinel from configs import dify_config from dify_app import DifyApp -from redis.cache import CacheConfig + class RedisClientWrapper: """ A wrapper class for the Redis client that addresses the issue where the global