Create the specified tenants for a collection in Weaviate. The collection must have been created with multi-tenancy enabled.
For details on the new activity statuses, see the docstring for the Tenants
interface type.
The tenant or tenants to create.
The created tenant(s) as a list of Tenant.
Return all tenants currently associated with a collection in Weaviate. The collection must have been created with multi-tenancy enabled.
For details on the new activity statuses, see the docstring for the Tenants
interface type.
A list of tenants as an object of Tenant types, where the key is the tenant name.
Return the specified tenant from a collection in Weaviate. The collection must have been created with multi-tenancy enabled.
For details on the new activity statuses, see the docstring for the Tenants
interface type.
The name of the tenant to retrieve.
The tenant as a Tenant type, or null if the tenant does not exist.
Return the specified tenants from a collection in Weaviate. The collection must have been created with multi-tenancy enabled.
For details on the new activity statuses, see the docstring for the Tenants
interface type.
The tenants to retrieve.
The list of tenants. If the tenant does not exist, it will not be included in the list.
Remove the specified tenants from a collection in Weaviate. The collection must have been created with multi-tenancy enabled.
For details on the new activity statuses, see the docstring for the Tenants
interface type.
An empty promise.
Update the specified tenants for a collection in Weaviate. The collection must have been created with multi-tenancy enabled.
For details on the new activity statuses, see the docstring for the Tenants
interface type.
The tenant or tenants to update.
The updated tenant(s) as a list of Tenant.
Represents all the CRUD methods available on a collection's multi-tenancy specification within Weaviate.
The collection must have been created with multi-tenancy enabled in order to use any of these methods. This class should not be instantiated directly, but is available as a property of the
Collection
class under thecollection.tenants
class attribute.Starting from Weaviate v1.26, the naming convention around tenant activitiy statuses is changing. The changing nomenclature is as follows:
HOT
is nowACTIVE
, which means loaded fully into memory and ready for use.COLD
is nowINACTIVE
, which means not loaded into memory with files stored on disk.With this change, new statuses are being added. One is mutable and the other two are immutable. They are:
OFFLOADED
, which means the tenant is not loaded into memory with files stored on the cloud.OFFLOADING
, which means the tenant is transitioning to theOFFLOADED
status.ONLOADING
, which means the tenant is transitioning from theOFFLOADED
status.