diff --git a/docs/bucket/notifications/README.md b/docs/bucket/notifications/README.md index 0fd36cdf6..c89cafeca 100644 --- a/docs/bucket/notifications/README.md +++ b/docs/bucket/notifications/README.md @@ -99,7 +99,7 @@ connection = pika.BlockingConnection(pika.ConnectionParameters( channel = connection.channel() channel.exchange_declare(exchange='bucketevents', - type='fanout') + exchange_type='fanout') result = channel.queue_declare(exclusive=False) queue_name = result.method.queue diff --git a/docs/zh_CN/bucket/notifications/README.md b/docs/zh_CN/bucket/notifications/README.md index 7ae6d2866..a26069c3e 100644 --- a/docs/zh_CN/bucket/notifications/README.md +++ b/docs/zh_CN/bucket/notifications/README.md @@ -95,7 +95,7 @@ connection = pika.BlockingConnection(pika.ConnectionParameters( channel = connection.channel() channel.exchange_declare(exchange='bucketevents', - type='fanout') + exchange_type='fanout') result = channel.queue_declare(exclusive=False) queue_name = result.method.queue