Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto-generated code for 8.14 #2584

Merged
merged 1 commit into from
Jun 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions elasticsearch/_async/client/search_application.py
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,7 @@ async def search(
human: t.Optional[bool] = None,
params: t.Optional[t.Mapping[str, t.Any]] = None,
pretty: t.Optional[bool] = None,
typed_keys: t.Optional[bool] = None,
body: t.Optional[t.Dict[str, t.Any]] = None,
) -> ObjectApiResponse[t.Any]:
"""
Expand All @@ -359,6 +360,8 @@ async def search(
:param name: The name of the search application to be searched.
:param params: Query parameters specific to this request, which will override
any defaults specified in the template.
:param typed_keys: Determines whether aggregation names are prefixed by their
respective types in the response.
"""
if name in SKIP_IN_PATH:
raise ValueError("Empty value passed for parameter 'name'")
Expand All @@ -374,6 +377,8 @@ async def search(
__query["human"] = human
if pretty is not None:
__query["pretty"] = pretty
if typed_keys is not None:
__query["typed_keys"] = typed_keys
if not __body:
if params is not None:
__body["params"] = params
Expand Down
5 changes: 5 additions & 0 deletions elasticsearch/_sync/client/search_application.py
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,7 @@ def search(
human: t.Optional[bool] = None,
params: t.Optional[t.Mapping[str, t.Any]] = None,
pretty: t.Optional[bool] = None,
typed_keys: t.Optional[bool] = None,
body: t.Optional[t.Dict[str, t.Any]] = None,
) -> ObjectApiResponse[t.Any]:
"""
Expand All @@ -359,6 +360,8 @@ def search(
:param name: The name of the search application to be searched.
:param params: Query parameters specific to this request, which will override
any defaults specified in the template.
:param typed_keys: Determines whether aggregation names are prefixed by their
respective types in the response.
"""
if name in SKIP_IN_PATH:
raise ValueError("Empty value passed for parameter 'name'")
Expand All @@ -374,6 +377,8 @@ def search(
__query["human"] = human
if pretty is not None:
__query["pretty"] = pretty
if typed_keys is not None:
__query["typed_keys"] = typed_keys
if not __body:
if params is not None:
__body["params"] = params
Expand Down
Loading