How can I get all the data from my cluster and without using the fetch_object_by_id.
hi @Sri_Kumar_Aryan ! Welcome to our community
You can use the cursor api:
collection = client.collections.get("WineReview")
for item in collection.iterator():
print(item.uuid, item.properties)
Let me know if this helps
It’s showing ‘Client’ object has no attribute ‘collections’
hi @Sri_Kumar_Aryan !
That’s probably because you are initiating a client using the python v3 client.
To initiate the client using the python v4:
import weaviate
client = weaviate.connect_to_local()
Note that the recent package of the weaviate client will include both versions, v3 and v4, so it can make the transition easier.
You can check here the differences from both versions:
Let me know if this helps
Thanks!
Thank You for the resolving these query.
1 Like
Any time, my friend!
We are here to help you succeed