From 8eb25f2a1d37bd6c6f0b38a69a92d1efb6d7df17 Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Tue, 10 Aug 2021 14:59:51 -0700 Subject: [PATCH] Fix arguments type for BlockingChannel.queue_declare Fixes #2. Signed-off-by: Anders Kaseorg --- pika-stubs/adapters/blocking_connection.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pika-stubs/adapters/blocking_connection.pyi b/pika-stubs/adapters/blocking_connection.pyi index 2de0929..ff91c83 100644 --- a/pika-stubs/adapters/blocking_connection.pyi +++ b/pika-stubs/adapters/blocking_connection.pyi @@ -229,7 +229,7 @@ class BlockingChannel: durable: bool = ..., exclusive: bool = ..., auto_delete: bool = ..., - arguments: Optional[spec.Queue.DeclareOk] = ..., + arguments: Optional[Mapping[str, Any]] = ..., ) -> frame.Method[spec.Queue.DeclareOk]: ... def queue_delete(