From 3661f8727b2ab8a33202d61c0cce609df5bb0902 Mon Sep 17 00:00:00 2001 From: Shoham Elias <116083498+shohamazon@users.noreply.github.com> Date: Mon, 14 Oct 2024 17:40:23 +0300 Subject: [PATCH] Fix mypy failing (#2453) --------- Signed-off-by: Shoham Elias --- python/python/tests/test_async_client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/python/tests/test_async_client.py b/python/python/tests/test_async_client.py index 62d66801c6..7566194dcc 100644 --- a/python/python/tests/test_async_client.py +++ b/python/python/tests/test_async_client.py @@ -9725,7 +9725,7 @@ async def cluster_route_custom_command_slot_route( route_class = SlotKeyRoute if is_slot_key else SlotIdRoute route_second_arg = "foo" if is_slot_key else 4000 primary_res = await glide_client.custom_command( - ["CLUSTER", "NODES"], route_class(SlotType.PRIMARY, route_second_arg) + ["CLUSTER", "NODES"], route_class(SlotType.PRIMARY, route_second_arg) # type: ignore ) assert isinstance(primary_res, bytes) primary_res = primary_res.decode() @@ -9738,7 +9738,7 @@ async def cluster_route_custom_command_slot_route( expected_primary_node_id = node_line.split(" ")[0] replica_res = await glide_client.custom_command( - ["CLUSTER", "NODES"], route_class(SlotType.REPLICA, route_second_arg) + ["CLUSTER", "NODES"], route_class(SlotType.REPLICA, route_second_arg) # type: ignore ) assert isinstance(replica_res, bytes) replica_res = replica_res.decode()