mod allegro

This commit is contained in:
l.gabrysiak 2025-02-28 21:09:44 +01:00
parent 46e2c21cfd
commit 87206a9462
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ 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["data"]["Get"]["Document"]: for item in response:
print(item) print(item)
#file_name = item.get("fileName", "unknown_file") #file_name = item.get("fileName", "unknown_file")
#content = item.get("content", "") #content = item.get("content", "")