v3.6.0
This minor version includes:
-
New function
weaviate.util.check_batch_result
used to print errors from batch creation. -
New function argument
class_name
for functionweaviate.util.generate_local_beacon
, used ONLY with Weaviate Server version >=1.14.0
(defaults toNone
for backwards compatibility). -
Function
weaviate.util.check_batch_result
is the defaultcallback
function for classweaviate.batch.Batch
(methodsweaviate.batch.Batch.configure
andweaviate.batch.Batch.__call__
) (instead ofNone
). -
New method argument
to_object_class_name
for methodweaviate.batch.Batch.add_reference
, used ONLY with Weaviate Server version >=1.14.0
(defaults toNone
for backwards compatibility). -
Support for
distance
in GraphQL filters (only with Weaviate server >=1.14.0
). -
For class
weaviate.data.DataObject
:- | New method argument
class_name
for methodweaviate.data.DataObject.get_by_id
, methodweaviate.data.DataObject.get
, methodweaviate.data.DataObject.delete
methodweaviate.data.DataObject.exists
, used ONLY with Weaviate Server version >=1.14.0
(defaults toNone
for backwards compatibility). - Deprecation Warning if Weaviate Server version >= 1.14.0 and
class_name
isNone
OR if Weaviate Server version < 1.14.0 andclass_name
is NOTNone
.
- | New method argument
-
For class
weaviate.data.references.Reference
:- | New method arguments
from_class_name
andto_class_name
(to_class_names
for methodweaviate.data.references.Reference.update
) for
methodweaviate.data.references.Reference.add
, methodweaviate.data.references.Reference.delete
,
methodweaviate.data.references.Reference.update
, used ONLY with Weaviate Server version >=1.14.0
(defaults toNone
for backwards compatibility). - Deprecation Warning if Weaviate Server version >= 1.14.0 and
class_name
isNone
OR if Weaviate Server version < 1.14.0 andclass_name
is NOTNone
.
- | New method arguments