From cd7dd2a511adbc878bb0e4b76cb6ca087424bdb0 Mon Sep 17 00:00:00 2001 From: Krrish Dholakia Date: Tue, 27 Aug 2024 07:40:28 -0700 Subject: [PATCH] fix(cooldown_cache.py): fix linting errors --- litellm/router_utils/cooldown_cache.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/litellm/router_utils/cooldown_cache.py b/litellm/router_utils/cooldown_cache.py index e47f77618b..2d29a1a5d3 100644 --- a/litellm/router_utils/cooldown_cache.py +++ b/litellm/router_utils/cooldown_cache.py @@ -89,7 +89,7 @@ class CooldownCache: # Process the results for model_id, result in zip(model_ids, results): if result and isinstance(result, dict): - cooldown_cache_value = CooldownCacheValue(**result) + cooldown_cache_value = CooldownCacheValue(**result) # type: ignore active_cooldowns.append((model_id, cooldown_cache_value)) return active_cooldowns @@ -107,7 +107,7 @@ class CooldownCache: # Process the results for model_id, result in zip(model_ids, results): if result and isinstance(result, dict): - cooldown_cache_value = CooldownCacheValue(**result) + cooldown_cache_value = CooldownCacheValue(**result) # type: ignore active_cooldowns.append((model_id, cooldown_cache_value)) return active_cooldowns @@ -125,7 +125,7 @@ class CooldownCache: # Process the results for model_id, result in zip(model_ids, results): if result and isinstance(result, dict): - cooldown_cache_value = CooldownCacheValue(**result) + cooldown_cache_value = CooldownCacheValue(**result) # type: ignore if cooldown_cache_value["cooldown_time"] < min_cooldown_time: min_cooldown_time = cooldown_cache_value["cooldown_time"]