v3.1.0
-
New
weaviate.batch.Batch
methods:weaviate.batch.Batch.pop_object
/weaviate.batch.Batch.pop_reference
to remove and return an added object/reference from theweaviate.batch.Batch
at positionindex
(by default-1
).weaviate.batch.Batch.empty_objects
/weaviate.batch.Batch.empty_references
to remove all the existing objects/references from theweaviate.batch.Batch
instance.weaviate.batch.Batch.is_empty_objects
/weaviate.batch.Batch.is_empty_references
to check there are any objects/reference in theweaviate.batch.Batch
instance.
-
Fixes in
weaviate.wcs.WCS
class:- Authentication only with
weaviate.auth.AuthClientPassword
. - The
weaviate.wcs.WCS.create
argumentmodule
is renamed tomodules
and can also be a list of modules to enable for the WCS cluster. The argument can be used on the PROD WCS too. - The
weaviate.wcs.WCS.get_cluster_config
does not raise an exception if the cluster does not exist but returns a empty configuration. - The
weaviate.wcs.WCS.delete_cluster
does not raise an exception if the cluster does not exist.
- Authentication only with
-
Add
phoneNumber
to the Weaviate's primitive types. Thanks to GitHub user @cdpierse. -
Bug fix in
weaviate.connect.Connection
. -
Fix
ConnectionError
handling. -
Optimization in
weaviate.batch.requests
andweaviate.connect.connection
.