Skip to content

Commit befa44c

Browse files
algolia-botkai687
andcommitted
chore: generated code for commit 200f07e9. [skip ci]
algolia/api-clients-automation@200f07e Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Kai Welke <[email protected]>
1 parent fa30d8a commit befa44c

File tree

3 files changed

+537
-3
lines changed

3 files changed

+537
-3
lines changed

algoliasearch/search/client.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@
108108
from algoliasearch.search.models.secured_api_key_restrictions import (
109109
SecuredApiKeyRestrictions,
110110
)
111+
from algoliasearch.search.models.settings_response import SettingsResponse
111112
from algoliasearch.search.models.source import Source
112113
from algoliasearch.search.models.synonym_hit import SynonymHit
113114
from algoliasearch.search.models.update_api_key_response import UpdateApiKeyResponse
@@ -2804,7 +2805,7 @@ async def get_settings(
28042805
Field(description="Name of the index on which to perform the operation."),
28052806
],
28062807
request_options: Optional[Union[dict, RequestOptions]] = None,
2807-
) -> IndexSettings:
2808+
) -> SettingsResponse:
28082809
"""
28092810
Retrieves an object with non-null index settings.
28102811
@@ -2814,11 +2815,11 @@ async def get_settings(
28142815
:param index_name: Name of the index on which to perform the operation. (required)
28152816
:type index_name: str
28162817
:param request_options: The request options to send along with the query, they will be merged with the transporter base parameters (headers, query params, timeouts, etc.). (optional)
2817-
:return: Returns the deserialized response in a 'IndexSettings' result object.
2818+
:return: Returns the deserialized response in a 'SettingsResponse' result object.
28182819
"""
28192820
return (
28202821
await self.get_settings_with_http_info(index_name, request_options)
2821-
).deserialize(IndexSettings)
2822+
).deserialize(SettingsResponse)
28222823

28232824
async def get_sources_with_http_info(
28242825
self, request_options: Optional[Union[dict, RequestOptions]] = None

0 commit comments

Comments
 (0)