Skip to content

Commit 3c488e2

Browse files
algolia-botmillotp
andcommitted
chore: generated code for commit 07266f22. [skip ci]
algolia/api-clients-automation@07266f2 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Pierre Millot <[email protected]>
1 parent 73f9a13 commit 3c488e2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

algoliasearch/search/client.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -482,8 +482,8 @@ async def partial_update_objects(
482482
index_name=index_name,
483483
objects=objects,
484484
action=Action.PARTIALUPDATEOBJECT
485-
and create_if_not_exists
486-
or Action.PARTIALUPDATEOBJECTNOCREATE,
485+
if create_if_not_exists
486+
else Action.PARTIALUPDATEOBJECTNOCREATE,
487487
)
488488

489489
async def chunked_batch(
@@ -540,8 +540,8 @@ async def _copy() -> UpdatedAtResponse:
540540
destination=tmp_index_name,
541541
scope=[
542542
ScopeType("settings"),
543-
ScopeType("synonyms"),
544543
ScopeType("rules"),
544+
ScopeType("synonyms"),
545545
],
546546
),
547547
request_options=request_options,

0 commit comments

Comments
 (0)