From 87206a946250789502ac5c6cbe68a710a15a6aa8 Mon Sep 17 00:00:00 2001 From: "l.gabrysiak" Date: Fri, 28 Feb 2025 21:09:44 +0100 Subject: [PATCH] mod allegro --- allegro.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/allegro.py b/allegro.py index 65a5580..032f50a 100644 --- a/allegro.py +++ b/allegro.py @@ -25,7 +25,7 @@ def fetch_documents(): collection = client.collections.get("Document") response = collection.query.fetch_objects() documents = [] - for item in response["data"]["Get"]["Document"]: + for item in response: print(item) #file_name = item.get("fileName", "unknown_file") #content = item.get("content", "")