Skip to content

Commit 679fb79

Browse files
committed
Avoid redefining builting id function
1 parent cfec19a commit 679fb79

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

elasticsearch/client/ingest.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,16 +46,16 @@ def delete_pipeline(self, id, params=None):
4646
'pipeline', id), params=params)
4747

4848
@query_params('verbose')
49-
def simulate(self, body, id=None, params=None):
49+
def simulate(self, body, pipelineID=None, params=None):
5050
"""
5151
`<https://www.elastic.co/guide/en/elasticsearch/plugins/current/ingest.html>`_
5252
5353
:arg body: The simulate definition
54-
:arg id: Pipeline ID
54+
:arg pipelineID: Pipeline ID
5555
:arg verbose: Verbose mode. Display data output for each processor in
5656
executed pipeline, default False
5757
"""
5858
if body in SKIP_IN_PATH:
5959
raise ValueError("Empty value passed for a required argument 'body'.")
6060
return self.transport.perform_request('GET', _make_path('_ingest',
61-
'pipeline', id, '_simulate'), params=params, body=body)
61+
'pipeline', pipelineID, '_simulate'), params=params, body=body)

0 commit comments

Comments
 (0)