puka icon indicating copy to clipboard operation
puka copied to clipboard

The type basic property is named `type_` but not documented

Open qix opened this issue 9 years ago • 2 comments

Is there a reason type is named type_ in the headers/spec?

It took me a while of digging for it, and notice it isn't mentioned at all in the documentation.

qix avatar Jun 09 '15 00:06 qix

"type" is a keyword in python.

majek avatar Jun 09 '15 10:06 majek

type is not a keyword in Python. It is the name of a builtin, indeed. But, IMHO, that is not a legitimate reason to deviate from the AMQP specs, where the message property name is type, not type_.

zuo avatar May 09 '23 14:05 zuo