Skip to content

v3.1.0

Compare
Choose a tag to compare
@StefanBogdan StefanBogdan released this 17 Aug 13:36
· 2082 commits to main since this release
  • 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 position index (by default -1).
    • weaviate.batch.Batch.empty_objects / weaviate.batch.Batch.empty_references to remove all the existing objects/references from the weaviate.batch.Batch instance.
    • weaviate.batch.Batch.is_empty_objects /weaviate.batch.Batch.is_empty_references to check there are any objects/reference in the weaviate.batch.Batch instance.
  • Fixes in weaviate.wcs.WCS class:

    • Authentication only with weaviate.auth.AuthClientPassword.
    • The weaviate.wcs.WCS.create argument module is renamed to modules 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.
  • 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 and weaviate.connect.connection.