mirror of
https://github.com/tiennm99/litellm.git
synced 2026-08-27 12:28:09 +00:00
fix: make type object subscriptable
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user