Skip to content

Commit 0453cc1

Browse files
committed
Update API to 7.15-SNAPSHOT
1 parent b2e6475 commit 0453cc1

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

elasticsearch/_async/client/__init__.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1240,7 +1240,7 @@ class AsyncElasticsearch(object):
12401240
extent: Optional[int] = ...,
12411241
fields: Optional[Union[List[str], str]] = ...,
12421242
grid_precision: Optional[int] = ...,
1243-
grid_type: Optional[Union[Literal["grid", "point"], str]] = ...,
1243+
grid_type: Optional[Union[Literal["grid", "point", "centroid"], str]] = ...,
12441244
query: Optional[Mapping[str, Any]] = ...,
12451245
runtime_mappings: Optional[Mapping[str, Mapping[str, Any]]] = ...,
12461246
size: Optional[int] = ...,

elasticsearch/_async/client/nodes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ async def stats(
9595
metric to the specific index metrics. Isn't used if `indices` (or `all`)
9696
metric isn't specified. Valid choices: _all, completion, docs,
9797
fielddata, query_cache, flush, get, indexing, merge, request_cache,
98-
refresh, search, segments, store, warmer, suggest, shards
98+
refresh, search, segments, store, warmer, suggest, shard_stats
9999
:arg completion_fields: A comma-separated list of fields for
100100
`fielddata` and `suggest` index metric (supports wildcards)
101101
:arg fielddata_fields: A comma-separated list of fields for

elasticsearch/client/__init__.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1240,7 +1240,7 @@ class Elasticsearch(object):
12401240
extent: Optional[int] = ...,
12411241
fields: Optional[Union[List[str], str]] = ...,
12421242
grid_precision: Optional[int] = ...,
1243-
grid_type: Optional[Union[Literal["grid", "point"], str]] = ...,
1243+
grid_type: Optional[Union[Literal["grid", "point", "centroid"], str]] = ...,
12441244
query: Optional[Mapping[str, Any]] = ...,
12451245
runtime_mappings: Optional[Mapping[str, Mapping[str, Any]]] = ...,
12461246
size: Optional[int] = ...,

elasticsearch/client/nodes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def stats(
9595
metric to the specific index metrics. Isn't used if `indices` (or `all`)
9696
metric isn't specified. Valid choices: _all, completion, docs,
9797
fielddata, query_cache, flush, get, indexing, merge, request_cache,
98-
refresh, search, segments, store, warmer, suggest, shards
98+
refresh, search, segments, store, warmer, suggest, shard_stats
9999
:arg completion_fields: A comma-separated list of fields for
100100
`fielddata` and `suggest` index metric (supports wildcards)
101101
:arg fielddata_fields: A comma-separated list of fields for

0 commit comments

Comments
 (0)