Skip to content

Commit 08d69c9

Browse files
algolia-botmillotp
andcommitted
fix(clients): correctly deserialize SearchResult (generated)
algolia/api-clients-automation#4756 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Pierre Millot <[email protected]>
1 parent 4ee48bd commit 08d69c9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Diff for: algoliasearch/search/client.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -4473,7 +4473,7 @@ async def search_with_http_info(
44734473
request_options: Optional[Union[dict, RequestOptions]] = None,
44744474
) -> ApiResponse[str]:
44754475
"""
4476-
Sends multiple search requests to one or more indices. This can be useful in these cases: - Different indices for different purposes, such as, one index for products, another one for marketing content. - Multiple searches to the same index—for example, with different filters.
4476+
Sends multiple search requests to one or more indices. This can be useful in these cases: - Different indices for different purposes, such as, one index for products, another one for marketing content. - Multiple searches to the same index—for example, with different filters. Use the helper `searchForHits` or `searchForFacets` to get the results in a more convenient format, if you already know the return type you want.
44774477
44784478
Required API Key ACLs:
44794479
- search
@@ -4517,7 +4517,7 @@ async def search(
45174517
request_options: Optional[Union[dict, RequestOptions]] = None,
45184518
) -> SearchResponses:
45194519
"""
4520-
Sends multiple search requests to one or more indices. This can be useful in these cases: - Different indices for different purposes, such as, one index for products, another one for marketing content. - Multiple searches to the same index—for example, with different filters.
4520+
Sends multiple search requests to one or more indices. This can be useful in these cases: - Different indices for different purposes, such as, one index for products, another one for marketing content. - Multiple searches to the same index—for example, with different filters. Use the helper `searchForHits` or `searchForFacets` to get the results in a more convenient format, if you already know the return type you want.
45214521
45224522
Required API Key ACLs:
45234523
- search
@@ -9528,7 +9528,7 @@ def search_with_http_info(
95289528
request_options: Optional[Union[dict, RequestOptions]] = None,
95299529
) -> ApiResponse[str]:
95309530
"""
9531-
Sends multiple search requests to one or more indices. This can be useful in these cases: - Different indices for different purposes, such as, one index for products, another one for marketing content. - Multiple searches to the same index—for example, with different filters.
9531+
Sends multiple search requests to one or more indices. This can be useful in these cases: - Different indices for different purposes, such as, one index for products, another one for marketing content. - Multiple searches to the same index—for example, with different filters. Use the helper `searchForHits` or `searchForFacets` to get the results in a more convenient format, if you already know the return type you want.
95329532
95339533
Required API Key ACLs:
95349534
- search
@@ -9572,7 +9572,7 @@ def search(
95729572
request_options: Optional[Union[dict, RequestOptions]] = None,
95739573
) -> SearchResponses:
95749574
"""
9575-
Sends multiple search requests to one or more indices. This can be useful in these cases: - Different indices for different purposes, such as, one index for products, another one for marketing content. - Multiple searches to the same index—for example, with different filters.
9575+
Sends multiple search requests to one or more indices. This can be useful in these cases: - Different indices for different purposes, such as, one index for products, another one for marketing content. - Multiple searches to the same index—for example, with different filters. Use the helper `searchForHits` or `searchForFacets` to get the results in a more convenient format, if you already know the return type you want.
95769576
95779577
Required API Key ACLs:
95789578
- search

0 commit comments

Comments
 (0)