mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 03:34:10 +00:00
refactor(router.py): linting fixes
This commit is contained in:
parent
917d6bd7cb
commit
f2e8239678
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ class Router:
|
||||||
cache_config['host'] = redis_host
|
cache_config['host'] = redis_host
|
||||||
|
|
||||||
if redis_port is not None:
|
if redis_port is not None:
|
||||||
cache_config['port'] = int(redis_port)
|
cache_config['port'] = str(redis_port) # type: ignore
|
||||||
|
|
||||||
if redis_password is not None:
|
if redis_password is not None:
|
||||||
cache_config['password'] = redis_password
|
cache_config['password'] = redis_password
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue