mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-06 02:48:13 +00:00
fix: fix type
This commit is contained in:
parent
c08705517b
commit
0b5deb2756
1 changed files with 1 additions and 1 deletions
|
|
@ -619,7 +619,7 @@ class Router:
|
|||
@staticmethod
|
||||
def _create_redis_cache(
|
||||
cache_config: Dict[str, Any]
|
||||
) -> RedisCache | RedisClusterCache:
|
||||
) -> Union[RedisCache, RedisClusterCache]:
|
||||
if cache_config.get("startup_nodes"):
|
||||
return RedisClusterCache(**cache_config)
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue