From 0082b3ea3877abae9a2914c03534addba4750ba0 Mon Sep 17 00:00:00 2001
From: Martin Weise <martin.weise@tuwien.ac.at>
Date: Tue, 16 Jan 2024 07:44:44 +0100
Subject: [PATCH] Fixed the docs for PIKA

---
 .docs/usage-overview.md | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/.docs/usage-overview.md b/.docs/usage-overview.md
index 15056d0494..3b5820d508 100644
--- a/.docs/usage-overview.md
+++ b/.docs/usage-overview.md
@@ -559,11 +559,15 @@ A user wants to import live data from e.g. sensor measurements fast and without
     import pika
     import json
 
-    connection = pika.BlockingConnection()
+    credentials = pika.credentials.PlainCredentials('foo', 'bar')
+    # credentials = pika.credentials.PlainCredentials('', 'ACCESS_TOKEN')
+    parameters = pika.ConnectionParameters('localhost', 5672, '/', credentials)
+    connection = pika.BlockingConnection(parameters)
     channel = connection.channel()
     channel.basic_publish(exchange='dbrepo',
         routing_key='dbrepo.test_fiyg.dabube_water_levels',
         body=json.dumps({"data":{"column1":"value1","column2":"value2"}}))
+    print(" [x] Sent tuple!")
     connection.close()
     ```
 
-- 
GitLab