Skip to content

Make update method send PATCH, and add separate replace method which can send PUT - #39

Closed
asgeo1 wants to merge 2 commits into
patterns-ai-core:mainfrom
bluefrogsoftware:main
Closed

asgeo1 wants to merge 2 commits into
patterns-ai-core:mainfrom
bluefrogsoftware:main

Conversation

@asgeo1

@asgeo1 asgeo1 commented Nov 18, 2023

Copy link
Copy Markdown

Addresses issue from #36, so user can either PATCH or PUT objects in Weaviave class as required.

@andreibondarev

Copy link
Copy Markdown
Collaborator

@asgeo1 Would you please update the specs as well? Thank you!

@andreibondarev

Copy link
Copy Markdown
Collaborator

Thanks for this, and for raising #36! The update (PATCH) / replace (PUT) split for objects shipped in 0.9.0. For collections, Weaviate's API has no PATCH /schema/{className}, so #72 fixes update by merging the changes into the current definition and sending a full PUT instead. Closing as covered by those two.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants