mosquito / aiormq

Pure python AMQP 0.9.1 asynchronous client library
Other
276 stars 58 forks source link

Replace aiormq.types with aiormq.abc in all examples #161

Closed dgarros closed 1 year ago

dgarros commented 1 year ago

While playing with the example code for RPC, I got the following warning that it was using a deprecated feature.

rpc_server.py:3: DeprecationWarning: aiormq.types was deprecated and will be removed in one of next major releases. Use aiormq.abc instead.
  import aiormq.types

This PR is simply replacing aiormq.types with aiormq.abc in all examples in the README to avoid this message

mosquito commented 1 year ago

released in 6.6.3