mosquito / aio-pika

AMQP 0.9 client designed for asyncio and humans.
https://aio-pika.readthedocs.org/
Apache License 2.0
1.18k stars 186 forks source link

Misleading Connection.channel example in doc string. #458

Closed Marcin-Szadkowski closed 2 years ago

Marcin-Szadkowski commented 2 years ago

The example in the following link is wrong. When creating channel working in transactional mode publisher_confirms should be set to False instead of True.

https://aio-pika.readthedocs.io/en/latest/apidoc.html?highlight=confirms#aio_pika.Connection.channel

image

mosquito commented 2 years ago

fixed in #456