From 972031cb6da2f08e79715244f2eb5c6845408aca Mon Sep 17 00:00:00 2001 From: "l.gabrysiak" Date: Fri, 28 Feb 2025 21:10:33 +0100 Subject: [PATCH] mod allegro --- allegro.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/allegro.py b/allegro.py index 032f50a..f8d03fc 100644 --- a/allegro.py +++ b/allegro.py @@ -25,8 +25,8 @@ def fetch_documents(): collection = client.collections.get("Document") response = collection.query.fetch_objects() documents = [] - for item in response: - print(item) + for o in response.objects: + print(o.properties) #file_name = item.get("fileName", "unknown_file") #content = item.get("content", "") #if content: