mod allegro
This commit is contained in:
parent
87206a9462
commit
972031cb6d
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue