weaviate-python-client icon indicating copy to clipboard operation
weaviate-python-client copied to clipboard

Check tenant exist

Open VjDharnish opened this issue 2 years ago • 1 comments

Describe your feature request

Hello weaviate , Checking a collection is existed or not is a good one. Why don't you add a particular tenant is present or not in a collection ?

Code of Conduct

VjDharnish avatar Apr 11 '24 14:04 VjDharnish

Hi! This feature is already released, but not yet exposed in clients.

We now have an "automatic" (Thanks @databyjp!) doc from the rest apis: https://weaviate.io/developers/weaviate/api/rest

If you go to SCHEMA > CHECK IF TENANT EXISTS, you'll get:

curl --request HEAD \
  --url http://localhost:8080/v1/schema/__CLASSNAME__/tenants/__TENANTNAME__

Thanks for the issue, @VjDharnish !! I will move it to our python client repository, and other clients will follow.

dudanogueira avatar Apr 18 '24 13:04 dudanogueira

will be in the next python client release

dirkkul avatar May 07 '24 22:05 dirkkul