Skip to content

Commit bf5d82e

Browse files
bsboddenCopilot
andauthored
Update redisvl/extensions/cache/embeddings/embeddings.py
Co-authored-by: Copilot <[email protected]>
1 parent a2fb8f1 commit bf5d82e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

redisvl/extensions/cache/embeddings/embeddings.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,10 +127,10 @@ def _process_cache_data(
127127
return cache_hit.model_dump(exclude_none=True)
128128

129129
def _should_warn_for_async_only(self) -> bool:
130-
"""Check if warning should be shown for async-only client usage.
130+
"""Check if only async client is available (no sync client).
131131
132132
Returns:
133-
bool: True if only async client is available and warning hasn't been shown.
133+
bool: True if only async client is available (no sync client).
134134
"""
135135
return self._owns_redis_client is False and self._redis_client is None
136136

0 commit comments

Comments
 (0)