exchange_declare() got an unexpected keyword argument 'type'
In new version of pika, now it is using
exchange_type instead of type
exchange_type instead of type
credentials = pika.PlainCredentials('admin','admin')
connection = pika.BlockingConnection(pika.ConnectionParameters('192.168.1.101',5672,'/',credentials))
channel = connection.channel()
channel.exchange_declare(exchange='logs',exchange_type='fanout')