Skip to content

Commit eb6e7af

Browse files
committed
fix: docstring arg names
1 parent bf6f08e commit eb6e7af

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libs/redis/langchain_redis/cache.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ class RedisCache(BaseCache):
122122
redis_url (str): The URL of the Redis instance to connect to.
123123
ttl (Optional[int]): Time-to-live for cache entries in seconds.
124124
prefix (Optional[str]): Prefix for all keys stored in Redis.
125-
redis (Optional[Redis]): An existing Redis client instance.
125+
redis_client (Optional[Redis]): An existing Redis client instance.
126126
127127
If provided, `redis_url` is ignored.
128128
@@ -350,7 +350,7 @@ class RedisSemanticCache(BaseCache):
350350
prefix (Optional[str]): Prefix for all keys stored in Redis.
351351
352352
Defaults to `'llmcache'`.
353-
redis (Optional[Redis]): An existing Redis client instance.
353+
redis_client (Optional[Redis]): An existing Redis client instance.
354354
355355
If provided, `redis_url` is ignored.
356356

0 commit comments

Comments
 (0)