mosquito / aio-pika

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

Usage of the default exchange #554

Open bodograumann opened 1 year ago

bodograumann commented 1 year ago

There is a default_exchange declared on the Channel: https://github.com/mosquito/aio-pika/blob/8080b903a53374a72a5c7db32a851baad4cbbabc/aio_pika/channel.py#L189-L198 It is also used in a lot of examples.

However it is not included in the API docs or in the types.

mosquito commented 1 year ago

@bodograumann it's just sugar. Do you want to add it to the types or in the API docs?

bodograumann commented 1 year ago

Yes I think it would be a good idea. I'll send a PR.