Skip to content

Commit 52f8fd8

Browse files
author
keith pinto
committed
fix order of arguments in documentation for client's get method
1 parent c7441e9 commit 52f8fd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

elasticsearch/client/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,9 +333,9 @@ def get(self, index, id, doc_type='_all', params=None):
333333
`<http://www.elastic.co/guide/en/elasticsearch/reference/current/docs-get.html>`_
334334
335335
:arg index: The name of the index
336+
:arg id: The document ID
336337
:arg doc_type: The type of the document (use `_all` to fetch the first
337338
document matching the ID across all types)
338-
:arg id: The document ID
339339
:arg _source: True or false to return the _source field or not, or a
340340
list of fields to return
341341
:arg _source_exclude: A list of fields to exclude from the returned

0 commit comments

Comments
 (0)