This package contains type stubs to provide more precise static types and type inference for pika, the RabbitMQ client library.
pip install pika-stubs
That's all, run Mypy and it should be able to pick up these stubs.