We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2fb8f1 commit bf5d82eCopy full SHA for bf5d82e
redisvl/extensions/cache/embeddings/embeddings.py
@@ -127,10 +127,10 @@ def _process_cache_data(
127
return cache_hit.model_dump(exclude_none=True)
128
129
def _should_warn_for_async_only(self) -> bool:
130
- """Check if warning should be shown for async-only client usage.
+ """Check if only async client is available (no sync client).
131
132
Returns:
133
- bool: True if only async client is available and warning hasn't been shown.
+ bool: True if only async client is available (no sync client).
134
"""
135
return self._owns_redis_client is False and self._redis_client is None
136
0 commit comments