diff --git a/clients/algoliasearch-client-python/algoliasearch/http/transporter.py b/clients/algoliasearch-client-python/algoliasearch/http/transporter.py index b82d7aac55d..5628183310c 100644 --- a/clients/algoliasearch-client-python/algoliasearch/http/transporter.py +++ b/clients/algoliasearch-client-python/algoliasearch/http/transporter.py @@ -61,6 +61,7 @@ async def request( method=verb, url=url, headers=request_options.headers, + query_parameters=request_options.query_parameters, data=request_options.data, proxy=proxy, ) diff --git a/tests/CTS/requests/search/partialUpdateObject.json b/tests/CTS/requests/search/partialUpdateObject.json index 589298e30a9..f77e0c59024 100644 --- a/tests/CTS/requests/search/partialUpdateObject.json +++ b/tests/CTS/requests/search/partialUpdateObject.json @@ -95,5 +95,26 @@ } } } + }, + { + "testName": "Partial update with createIfNotExists false", + "parameters": { + "indexName": "theIndexName", + "objectID": "uniqueID", + "attributesToUpdate": { + "attributeId": "value" + }, + "createIfNotExists": "false" + }, + "request": { + "path": "/1/indexes/theIndexName/uniqueID/partial", + "method": "POST", + "body": { + "attributeId": "value" + }, + "queryParameters": { + "createIfNotExists": "false" + } + } } ]