Removed extra reference to the id parameter for create API

This commit is contained in:
Honza Král
2013-12-09 02:53:07 +01:00
parent 0ab904c4de
commit 6947b01275
+1 -1
View File
@@ -117,7 +117,7 @@ class Elasticsearch(object):
_, data = self.transport.perform_request('GET', '/', params=params)
return data
@query_params('consistency', 'id', 'parent', 'percolate', 'refresh',
@query_params('consistency', 'parent', 'percolate', 'refresh',
'replication', 'routing', 'timeout', 'timestamp', 'ttl', 'version', 'version_type')
def create(self, index, doc_type, body, id=None, params=None):
"""