You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is how Pika generate consumer tag (line 336 in pika/channel.py):
def_generate_consumer_tag(self):
"""Generate a consumer tag NOTE: this protected method may be called by derived classes :returns: consumer tag :rtype: str """return'ctag%i.%s'% (self.channel_number, uuid.uuid4().hex)
By default, the consumer tag is a str, which contradicts the data type of ConsumeOk.consume_tag in the stub file (line 1415 in pika-stubs/spec.pyi):
This is how Pika generate consumer tag (line 336 in
pika/channel.py
):By default, the consumer tag is a
str
, which contradicts the data type ofConsumeOk.consume_tag
in the stub file (line 1415 inpika-stubs/spec.pyi
):So, is this an error on
pika-stubs
?Disclaimer: I haven't read the AMQP specification. (Edit: I'm reading it, but not thoroughly)
The text was updated successfully, but these errors were encountered: