Skip to content

Releases: weaviate/weaviate-python-client

weaviate python client compatible with weaviate v1.x.x

11 Jan 16:45

Choose a tag to compare

Changelog: weaviate-python-client v2.0.x

weaviate.batch

  • Batch.create_things() -> Batch.create_objects() (or Batch.create() )

    Due to removal of semantic kind (“things/actions”).

  • Batch.create_actions() -> Batch.create_objects() (or Batch.create() )

    Due to removal of semantic kind (“things/actions”).

  • Batch.add_reference() is DEPRECATED -> Batch.create_references() (or Batch.create())

    Deprecated to make the name consistent with object creation method.

  • Batch.create() ADDED

    This method creates either objects or references.

  • ReferenceBatchRequest.get_batch_size() REMOVED

    Use len(<ReferenceBatchRequest>).

  • ReferenceBatchRequest.get_reference() DEPRECATED -> ReferenceBatchRequest.add()

    Due to redundancy on name level.

  • ActionsBatchReference -> ObjectsBatchRequest

    Due to removal of semantic kind (“things/actions”).

  • ThingsBatchReference -> ObjectsBatchRequest

    Due to removal of semantic kind (“things/actions”).

  • ObjectsBatchRequest.get_objects() DEPRECATED -> ObjectsBatchRequest.add()

    Due to redundancy on name level.

weaviate.classification

  • Classification.schedule.with_settings() ADDED

    Set additional settings for your classification.

  • SOURCE_WHERE_FILTER, TRAINING_SET_WHERE_FILTER, TARGET_WHERE_FILTER global variables were REMOVED.

    These global variables were not used anywhere.

weaviate.data.references

  • Reference.delete(..., from_semantic_type, to_semantic_type) arguments were REMOVED.

    Due to removal of semantic kind (“things/actions”).

  • Reference.update(..., from_semantic_type, to_semantic_type) arguments were REMOVED.

    Due to removal of semantic kind (“things/actions”).

  • Reference.add(..., from_semantic_type, to_semantic_type) arguments were REMOVED.

    Due to removal of semantic kind (“things/actions”).

weaviate.data

  • DataObject.create(..., semantic_type) argument was REMOVED.

    Due to removal of semantic kind (“things/actions”).

  • DataObject.merge(..., semantic_type) argument was REMOVED.

    Due to removal of semantic kind (“things/actions”).

  • DataObject.update(..., semantic_type) argument was REMOVED.

    Due to removal of semantic kind (“things/actions”).

  • DataObject.get_by_id(..., semantic_type) argument was REMOVED.

    Due to removal of semantic kind (“things/actions”).

  • DataObject.get_by_id(..., underscore_properties) -> DataObject.get_by_id(..., additional_properties).

    All underscore properties are now clustered into a single field additional.

  • DataObject.get(..., semantic_type) argument was REMOVED.

    Due to removal of semantic kind (“things/actions”).

  • DataObject.get(..., underscore_properties) -> DataObject.get(..., additional_properties).

    All underscore properties are now clustered into a single field additional.

  • DataObject.delete(..., semantic_type) argument was REMOVED.

    Due to removal of semantic kind (“things/actions”).

  • DataObject.exists(..., semantic_type) argument was REMOVED.

    Due to removal of semantic kind (“things/actions”).

  • DataObject.validate(..., semantic_type) argument was REMOVED.

    Due to removal of semantic kind (“things/actions”).

weaviate.gql

  • Query.METHOD .thing(...).with_XXX() -> Query.METHOD(...).with_XXX()

    Due to removal of semantic kind (“things/actions”).

  • Query.METHOD .action(...).with_XXX() -> Query.METHOD(...).with_XXX()

    Due to removal of semantic kind (“things/actions”).

  • build.Builder -> get.GetBuilder

    The module and the class was renamed to reflect the GraphQL functionality.

  • get.GetBuilder.with_explore() -> get.GetBuilder.with_near_text() [this means that it can be accessed as Query.get(...).with_near_text()]

    Due to the renaming of explore to nearText.

  • get.GetBuilder.with_near_vector() is ADDED [this means that it can be accessed as Query.get(...).with_near_vector()]

    Due to the addition of a new method nearVector.

  • filter.Explore -> filter.NearText

    Due to the renaming of explore to nearText.

  • filter.NearVector is ADDED

    Due to the addition of a new method nearVector.

weaviate.schema.properties

  • Property.create(..., semantic_type) argument was REMOVED.

    Due to removal of semantic kind (“things/actions”).

weaviate.schema

  • Schema.create_class(..., semantic_type) argument was REMOVED.

    Due to removal of semantic kind (“things/actions”).

  • Schema.delete_class(..., semantic_type) argument was REMOVED.

    Due to removal of semantic kind (“things/actions”).

weaviate.tools

  • Batcher.add_data_object(..., semantic_type) argument was REMOVED.

    Due to removal of semantic kind (“things/actions”).

  • Batcher.add_reference(..., from_semantic_type, to_semantic_type) arguments were REMOVED.

    Due to removal of semantic kind (“things/actions”).

  • Batcher.add_reference(from_thing_class_name, from_thing_uuid, to_thing_uuid, ...) -> Batcher.add_reference(from_object_class_name, from_object_uuid, to_object_uuid, ...).

    Due to removal of semantic kind (“things/actions”).

weaviate.exceptions

  • ThingAlreadyExistsException -> ObjectAlreadyExistsException.

    Due to removal of semantic kind (“things/actions”).

weaviate.util

  • generate_local_beacon(..., semantic_type) argument was REMOVED.

    Due to removal of semantic kind (“things/actions”).

  • is_weaviate_entity_url -> is_weaviate_object_url.

    Due to removal of semantic kind (“things/actions”).

  • ParsedUUID was REMOVED.

    Was used only to check if UUID is valid and return it, now the get_valid_uuid can be used instead

  • is_semantic_type was REMOVED.

    Due to removal of semantic kind (“things/actions”).

  • get_valid_uuid was ADDED.

    Replacement for the ParsedUUID class.

1.0.0 Full implementation of weaviate API

15 Sep 15:07

Choose a tag to compare

This release contains the first full implementation of the weaviate API.
The client workflow follows the REST API workflow.
Full documentation can be found on the website.

Add get_all underscore properties and fix issues with package

08 Sep 13:22

Choose a tag to compare

get_all semantic types is now available.
meta has been replaced with the newer underscore properties.
The last pre release missed a package declaration in the setup.py which resulted in an error if the source of the package was not in the python path. This got fixed.

1.0.0rc3

08 Sep 13:21

Choose a tag to compare

1.0.0rc3 Pre-release
Pre-release
allow creation of single properties in schema and adding actions to g…

1.0.0rc2

08 Sep 13:21

Choose a tag to compare

1.0.0rc2 Pre-release
Pre-release
Extend batcher

Full REST API replication

12 Aug 07:50

Choose a tag to compare

Pre-release

This is the first full release of the client containing all possible operations that are also available over the REST API.

Restructuring of API to allow actions

14 Jul 10:46

Choose a tag to compare

This release contains breaking changes to allow the usage of actions. The API continues to have an things first approach.

0.4.0-rc0 Add actions

03 Jun 14:31

Choose a tag to compare

0.4.0-rc0 Add actions Pre-release
Pre-release

This release adds actions.

This is a breaking change for reference methods. They require a sematic type now which states if the reference is from a thing or an action to a thing or an action.

Add pytnon 2.7 support

13 Feb 15:12

Choose a tag to compare

Add vector boosting

client.create_thing has a new optional argument vector_weights, that allows the boosting of single words. See the official release notes for more information.

Python 2.7

To support legacy code python 2.7 is now also supported. We encourage to use a python version >= 2.6 if possible though.

Add vector word boosting

12 Feb 13:36

Choose a tag to compare

Pre-release

client.create_thing has a new optional argument vector_weights, that allows the boosting of single words. See the official release notes for more information.