You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Remove unused imports: Union, ClusterPipeline, AsyncClusterPipeline,
logging, cast, Optional, os, lazy_import, SyncRedisCluster, Mapping,
Awaitable, warnings
- Fix unused exception variables in index.py exception handlers
- Clean up HybridResult import used only for feature detection
<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> **Low Risk**
> Low risk cleanup-only change: removes unused imports/variables and
minor exception-handler refactors without altering core control flow or
Redis commands.
>
> **Overview**
> Removes a set of unused imports across CLI, cache, router, query,
storage, vectorize, and protocol helper modules to satisfy linters and
reduce dead dependencies.
>
> Cleans up `SearchIndex`/`AsyncSearchIndex` exception handling to avoid
unused exception variables, and tweaks hybrid-search feature detection
by importing `HybridResult` under an alias purely to confirm
availability.
>
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
3fab84b. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
0 commit comments