From 4390b88986e1c69794d5db26750b77306cad0849 Mon Sep 17 00:00:00 2001 From: Sebastian Rittau Date: Fri, 28 Jan 2022 10:30:23 +0100 Subject: [PATCH] Update redis stubs for 4.1.2 (#7064) --- stubs/redis/redis/connection.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stubs/redis/redis/connection.pyi b/stubs/redis/redis/connection.pyi index 241b501db..0b30e20aa 100644 --- a/stubs/redis/redis/connection.pyi +++ b/stubs/redis/redis/connection.pyi @@ -104,7 +104,7 @@ class Connection: def set_parser(self, parser_class): ... def connect(self): ... def on_connect(self): ... - def disconnect(self): ... + def disconnect(self, *args: object) -> None: ... # 'args' added in redis 4.1.2 def check_health(self) -> None: ... def send_packed_command(self, command, check_health: bool = ...): ... def send_command(self, *args): ...