mod allegro

This commit is contained in:
l.gabrysiak 2025-02-28 21:10:33 +01:00
parent 87206a9462
commit 972031cb6d
1 changed files with 2 additions and 2 deletions

View File

@ -25,8 +25,8 @@ def fetch_documents():
collection = client.collections.get("Document") collection = client.collections.get("Document")
response = collection.query.fetch_objects() response = collection.query.fetch_objects()
documents = [] documents = []
for item in response: for o in response.objects:
print(item) print(o.properties)
#file_name = item.get("fileName", "unknown_file") #file_name = item.get("fileName", "unknown_file")
#content = item.get("content", "") #content = item.get("content", "")
#if content: #if content: