File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -349,6 +349,7 @@ async def search(
349
349
human : t .Optional [bool ] = None ,
350
350
params : t .Optional [t .Mapping [str , t .Any ]] = None ,
351
351
pretty : t .Optional [bool ] = None ,
352
+ typed_keys : t .Optional [bool ] = None ,
352
353
body : t .Optional [t .Dict [str , t .Any ]] = None ,
353
354
) -> ObjectApiResponse [t .Any ]:
354
355
"""
@@ -359,6 +360,8 @@ async def search(
359
360
:param name: The name of the search application to be searched.
360
361
:param params: Query parameters specific to this request, which will override
361
362
any defaults specified in the template.
363
+ :param typed_keys: Determines whether aggregation names are prefixed by their
364
+ respective types in the response.
362
365
"""
363
366
if name in SKIP_IN_PATH :
364
367
raise ValueError ("Empty value passed for parameter 'name'" )
@@ -374,6 +377,8 @@ async def search(
374
377
__query ["human" ] = human
375
378
if pretty is not None :
376
379
__query ["pretty" ] = pretty
380
+ if typed_keys is not None :
381
+ __query ["typed_keys" ] = typed_keys
377
382
if not __body :
378
383
if params is not None :
379
384
__body ["params" ] = params
Original file line number Diff line number Diff line change @@ -349,6 +349,7 @@ def search(
349
349
human : t .Optional [bool ] = None ,
350
350
params : t .Optional [t .Mapping [str , t .Any ]] = None ,
351
351
pretty : t .Optional [bool ] = None ,
352
+ typed_keys : t .Optional [bool ] = None ,
352
353
body : t .Optional [t .Dict [str , t .Any ]] = None ,
353
354
) -> ObjectApiResponse [t .Any ]:
354
355
"""
@@ -359,6 +360,8 @@ def search(
359
360
:param name: The name of the search application to be searched.
360
361
:param params: Query parameters specific to this request, which will override
361
362
any defaults specified in the template.
363
+ :param typed_keys: Determines whether aggregation names are prefixed by their
364
+ respective types in the response.
362
365
"""
363
366
if name in SKIP_IN_PATH :
364
367
raise ValueError ("Empty value passed for parameter 'name'" )
@@ -374,6 +377,8 @@ def search(
374
377
__query ["human" ] = human
375
378
if pretty is not None :
376
379
__query ["pretty" ] = pretty
380
+ if typed_keys is not None :
381
+ __query ["typed_keys" ] = typed_keys
377
382
if not __body :
378
383
if params is not None :
379
384
__body ["params" ] = params
You can’t perform that action at this time.
0 commit comments