fix: make type object subscriptable

This commit is contained in:
Krrish Dholakia
2025-03-09 18:35:10 -07:00
parent 805679becc
commit 2c5b2da955
+1 -1
View File
@@ -618,7 +618,7 @@ class Router:
@staticmethod
def _create_redis_cache(
cache_config: dict[str, Any]
cache_config: Dict[str, Any]
) -> RedisCache | RedisClusterCache:
if cache_config.get("startup_nodes"):
return RedisClusterCache(**cache_config)