Polyconseil / aioamqp

AMQP implementation using asyncio
Other
280 stars 88 forks source link

TypeError: basic_consume() got multiple values for argument 'callback' #62

Closed ariddell closed 8 years ago

ariddell commented 8 years ago

Upgrading from 0.4.0 to 0.5.1 with no code changes I get this error. Did the API change?

ariddell commented 8 years ago

Nevermind, I figured it out. Argument order changed or explicit keywords were added, I think.

dzen commented 8 years ago

Hello Allen,

We changed the basic_consume definition because the callback is now required. The method arguments makes sense now :)