For option 2, py-amqp support argument `passive` in queue_declare[1]. And we may rewrite the function `Queue.declare` to accept argument `passive` and pass it to `queue_declare` in kombu[2].
[1] https://github.com/celery/py-amqp/blob/v2.3.2/amqp/channel.py#L1028 [2] https://github.com/celery/kombu/blob/v4.2.1/kombu/entity.py#L624
For option 2, py-amqp support argument `passive` in queue_declare[1].
And we may rewrite the function `Queue.declare` to accept argument `passive` and pass it to `queue_declare` in kombu[2].
[1] https:/ /github. com/celery/ py-amqp/ blob/v2. 3.2/amqp/ channel. py#L1028 /github. com/celery/ kombu/blob/ v4.2.1/ kombu/entity. py#L624
[2] https:/