Skip to content

Commit

Permalink
fix incorrect alias usage
Browse files Browse the repository at this point in the history
  • Loading branch information
ankona committed Aug 9, 2023
1 parent 58c04e4 commit 442d97e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion smartsim/_core/utils/redis.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

from __future__ import annotations

import logging
import redis
import time
Expand Down Expand Up @@ -114,7 +116,7 @@ def check_cluster_status(
# wait for cluster to spin up
time.sleep(5)
try:
redis_tester = _TRedisCluster(
redis_tester: _TRedisCluster = RedisCluster(
startup_nodes=cluster_nodes
)
redis_tester.set("__test__", "__test__")
Expand Down

0 comments on commit 442d97e

Please sign in to comment.