From 6947b01275711ac44beaa5de4afdd66181b073fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Honza=20Kr=C3=A1l?= Date: Mon, 9 Dec 2013 02:53:07 +0100 Subject: [PATCH] Removed extra reference to the `id` parameter for create API --- elasticsearch/client/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elasticsearch/client/__init__.py b/elasticsearch/client/__init__.py index 591ea6c8..49275165 100644 --- a/elasticsearch/client/__init__.py +++ b/elasticsearch/client/__init__.py @@ -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): """