Browse Source

ref: fix type for rb.Cluster factory (#67685)

<!-- Describe your PR here. -->
anthony sottile 11 months ago
parent
commit
c403876c31
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/sentry/utils/redis.py

+ 1 - 1
src/sentry/utils/redis.py

@@ -67,7 +67,7 @@ class _RBCluster:
         decode_responses: bool | None = None,
         hosts: list[dict[int, Any]] | dict[int, Any] | None = None,
         **config: Any,
-    ) -> functools.partial:
+    ) -> rb.Cluster:
         if not decode_responses:
             raise NotImplementedError("decode_responses=False mode is not implemented for `rb`")
         if not hosts: