File tree Expand file tree Collapse file tree
weaviate/collections/tenants Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -521,7 +521,7 @@ def activate(
521521 weaviate.exceptions.UnexpectedStatusCodeError: If Weaviate reports a non-OK status.
522522 weaviate.exceptions.WeaviateInvalidInputError: If `tenant` is not a list of `wvc.Tenant` objects.
523523 """
524- self .__update_tenant_activity_status (
524+ return self .__update_tenant_activity_status (
525525 tenant = tenant ,
526526 activity_status = TenantUpdateActivityStatus .ACTIVE ,
527527 )
@@ -542,7 +542,7 @@ def deactivate(
542542 weaviate.exceptions.UnexpectedStatusCodeError: If Weaviate reports a non-OK status.
543543 weaviate.exceptions.WeaviateInvalidInputError: If `tenant` is not a list of `wvc.Tenant` objects.
544544 """
545- self .__update_tenant_activity_status (
545+ return self .__update_tenant_activity_status (
546546 tenant = tenant ,
547547 activity_status = TenantUpdateActivityStatus .INACTIVE ,
548548 )
@@ -563,7 +563,7 @@ def offload(
563563 weaviate.exceptions.UnexpectedStatusCodeError: If Weaviate reports a non-OK status.
564564 weaviate.exceptions.WeaviateInvalidInputError: If `tenant` is not a list of `wvc.Tenant` objects.
565565 """
566- self .__update_tenant_activity_status (
566+ return self .__update_tenant_activity_status (
567567 tenant = tenant ,
568568 activity_status = TenantUpdateActivityStatus .OFFLOADED ,
569569 )
You can’t perform that action at this time.
0 commit comments