pika: Make Method generic, annotate DeclareOk (#9360)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
Sebastian RittauandAlex Waygood authored and GitHub committed 2022-12-14 19:42:57 +00:00
1 parent b356abcbda
commit fe9c7384fd
6 files changed
+46 -28

No files matched your search

+4
View File
@@ -21,6 +21,10 @@ pika.adapters.blocking_connection.BlockingConnection.consumer_cancel_notify
pika.adapters.blocking_connection.BlockingConnection.exchange_exchange_bindings
pika.adapters.blocking_connection.BlockingConnection.publisher_confirms
# The implementation has defaults for the arguments that would make the
# created instances unusable, so we require the arguments in the stub.
pika.spec.Queue.DeclareOk.__init__
# Flagged by stubtest for unknown reasons.
pika.data.PY2
pika.data.basestring