From eed679d0ec8b0504b06d14b29d4a0056c59e30fe Mon Sep 17 00:00:00 2001 From: Tommy Smith Date: Wed, 16 Apr 2025 17:36:35 +0300 Subject: [PATCH] Move docstring from update to replace --- weaviate/collections/data/executor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/weaviate/collections/data/executor.py b/weaviate/collections/data/executor.py index 64f039afd..40ac730e8 100644 --- a/weaviate/collections/data/executor.py +++ b/weaviate/collections/data/executor.py @@ -253,6 +253,8 @@ def replace( This is equivalent to a PUT operation. + If the object does not exist yet, it will be created. + Args: uuid: The UUID of the object, REQUIRED. properties: The properties of the object, REQUIRED. @@ -315,8 +317,6 @@ def update( This is equivalent to a PATCH operation. - If the object does not exist yet, it will be created. - Args: uuid: The UUID of the object, REQUIRED. properties: The properties of the object.