Skip to content

Commit 42e8c98

Browse files
authored
[API] Update REST APIs to a5e65beab27
1 parent a52ebaf commit 42e8c98

File tree

3 files changed

+31
-0
lines changed

3 files changed

+31
-0
lines changed

elasticsearch/_async/client/tasks.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@ async def list(self, params=None, headers=None):
3535
3636
`<https://www.elastic.co/guide/en/elasticsearch/reference/7.10/tasks.html>`_
3737
38+
.. warning::
39+
40+
This API is **experimental** so may include breaking changes
41+
or be removed in a future version
42+
3843
:arg actions: A comma-separated list of actions that should be
3944
returned. Leave empty to return all.
4045
:arg detailed: Return detailed task information (default: false)
@@ -60,6 +65,11 @@ async def cancel(self, task_id=None, params=None, headers=None):
6065
6166
`<https://www.elastic.co/guide/en/elasticsearch/reference/7.10/tasks.html>`_
6267
68+
.. warning::
69+
70+
This API is **experimental** so may include breaking changes
71+
or be removed in a future version
72+
6373
:arg task_id: Cancel the task with specified task id
6474
(node_id:task_number)
6575
:arg actions: A comma-separated list of actions that should be
@@ -87,6 +97,11 @@ async def get(self, task_id=None, params=None, headers=None):
8797
8898
`<https://www.elastic.co/guide/en/elasticsearch/reference/7.10/tasks.html>`_
8999
100+
.. warning::
101+
102+
This API is **experimental** so may include breaking changes
103+
or be removed in a future version
104+
90105
:arg task_id: Return the task with specified id
91106
(node_id:task_number)
92107
:arg timeout: Explicit operation timeout

elasticsearch/client/tasks.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@ def list(self, params=None, headers=None):
3535
3636
`<https://www.elastic.co/guide/en/elasticsearch/reference/7.10/tasks.html>`_
3737
38+
.. warning::
39+
40+
This API is **experimental** so may include breaking changes
41+
or be removed in a future version
42+
3843
:arg actions: A comma-separated list of actions that should be
3944
returned. Leave empty to return all.
4045
:arg detailed: Return detailed task information (default: false)
@@ -60,6 +65,11 @@ def cancel(self, task_id=None, params=None, headers=None):
6065
6166
`<https://www.elastic.co/guide/en/elasticsearch/reference/7.10/tasks.html>`_
6267
68+
.. warning::
69+
70+
This API is **experimental** so may include breaking changes
71+
or be removed in a future version
72+
6373
:arg task_id: Cancel the task with specified task id
6474
(node_id:task_number)
6575
:arg actions: A comma-separated list of actions that should be
@@ -87,6 +97,11 @@ def get(self, task_id=None, params=None, headers=None):
8797
8898
`<https://www.elastic.co/guide/en/elasticsearch/reference/7.10/tasks.html>`_
8999
100+
.. warning::
101+
102+
This API is **experimental** so may include breaking changes
103+
or be removed in a future version
104+
90105
:arg task_id: Return the task with specified id
91106
(node_id:task_number)
92107
:arg timeout: Explicit operation timeout

test_elasticsearch/test_server/test_rest_api_spec.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
"indices/get_alias/10_basic[23]",
5757
"indices/simulate_index_template/10_basic[2]",
5858
"search/aggregation/250_moving_fn[1]",
59+
"search/aggregation/250_moving_fn[2]",
5960
}
6061

6162

0 commit comments

Comments
 (0)