Getting this typing error on my callback that got passed to basic_consume:
error: Item "GetEmpty" of "Union[Deliver, GetEmpty, GetOk]" has no attribute "delivery_tag" [union-attr]
await message.channel.basic_ack(message.delivery.delivery_tag)
^
where message is of type aiormq.types.DeliveredMessage, defined here:
Getting this typing error on my callback that got passed to
basic_consume
:where
message
is of typeaiormq.types.DeliveredMessage
, defined here:https://github.com/mosquito/aiormq/blob/dde0ce860339c775c01c6eb829e75452259b6e1d/aiormq/types.py#L12-L20