Skip to content

Commit f96b540

Browse files
Auto-generated API code
1 parent 4095a21 commit f96b540

File tree

4 files changed

+22
-8
lines changed

4 files changed

+22
-8
lines changed

elasticsearch/_async/client/esql.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,14 @@ async def query(
3838
error_trace: t.Optional[bool] = None,
3939
filter: t.Optional[t.Mapping[str, t.Any]] = None,
4040
filter_path: t.Optional[t.Union[str, t.Sequence[str]]] = None,
41-
format: t.Optional[str] = None,
41+
format: t.Optional[
42+
t.Union[
43+
str,
44+
t.Literal[
45+
"arrow", "cbor", "csv", "json", "smile", "tsv", "txt", "yaml"
46+
],
47+
]
48+
] = None,
4249
human: t.Optional[bool] = None,
4350
locale: t.Optional[str] = None,
4451
params: t.Optional[t.Sequence[t.Union[None, bool, float, int, str]]] = None,

elasticsearch/_async/client/ingest.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ async def delete_geoip_database(
4040
"""
4141
Deletes a geoip database configuration.
4242
43-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/TODO.html>`_
43+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/delete-geoip-database-api.html>`_
4444
4545
:param id: A comma-separated list of geoip database configurations to delete
4646
:param master_timeout: Period to wait for a connection to the master node. If
@@ -177,7 +177,7 @@ async def get_geoip_database(
177177
"""
178178
Returns information about one or more geoip database configurations.
179179
180-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/TODO.html>`_
180+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/get-geoip-database-api.html>`_
181181
182182
:param id: Comma-separated list of database configuration IDs to retrieve. Wildcard
183183
(`*`) expressions are supported. To get all database configurations, omit
@@ -327,7 +327,7 @@ async def put_geoip_database(
327327
"""
328328
Returns information about one or more geoip database configurations.
329329
330-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/TODO.html>`_
330+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/put-geoip-database-api.html>`_
331331
332332
:param id: ID of the database configuration to create or update.
333333
:param maxmind: The configuration necessary to identify which IP geolocation

elasticsearch/_sync/client/esql.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,14 @@ def query(
3838
error_trace: t.Optional[bool] = None,
3939
filter: t.Optional[t.Mapping[str, t.Any]] = None,
4040
filter_path: t.Optional[t.Union[str, t.Sequence[str]]] = None,
41-
format: t.Optional[str] = None,
41+
format: t.Optional[
42+
t.Union[
43+
str,
44+
t.Literal[
45+
"arrow", "cbor", "csv", "json", "smile", "tsv", "txt", "yaml"
46+
],
47+
]
48+
] = None,
4249
human: t.Optional[bool] = None,
4350
locale: t.Optional[str] = None,
4451
params: t.Optional[t.Sequence[t.Union[None, bool, float, int, str]]] = None,

elasticsearch/_sync/client/ingest.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def delete_geoip_database(
4040
"""
4141
Deletes a geoip database configuration.
4242
43-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/TODO.html>`_
43+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/delete-geoip-database-api.html>`_
4444
4545
:param id: A comma-separated list of geoip database configurations to delete
4646
:param master_timeout: Period to wait for a connection to the master node. If
@@ -177,7 +177,7 @@ def get_geoip_database(
177177
"""
178178
Returns information about one or more geoip database configurations.
179179
180-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/TODO.html>`_
180+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/get-geoip-database-api.html>`_
181181
182182
:param id: Comma-separated list of database configuration IDs to retrieve. Wildcard
183183
(`*`) expressions are supported. To get all database configurations, omit
@@ -327,7 +327,7 @@ def put_geoip_database(
327327
"""
328328
Returns information about one or more geoip database configurations.
329329
330-
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/TODO.html>`_
330+
`<https://www.elastic.co/guide/en/elasticsearch/reference/8.15/put-geoip-database-api.html>`_
331331
332332
:param id: ID of the database configuration to create or update.
333333
:param maxmind: The configuration necessary to identify which IP geolocation

0 commit comments

Comments
 (0)