From fa381534cc4890bf20645916bb477ab91fc0b66e Mon Sep 17 00:00:00 2001 From: Bruno Rocha Date: Mon, 14 Dec 2015 16:52:26 -0200 Subject: [PATCH] added noqa --- esengine/document.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/esengine/document.py b/esengine/document.py index fa27ff8..ce54d4c 100644 --- a/esengine/document.py +++ b/esengine/document.py @@ -67,7 +67,7 @@ def save(self, es=None): saved_document = self.get_es(es).index( index=self._index, doc_type=self._doctype, - id=self.id, + id=self.id, # noqa body=doc ) if saved_document.get('created'): @@ -86,7 +86,7 @@ def delete(self, es=None): self.get_es(es).delete( index=self._index, doc_type=self._doctype, - id=self.id, + id=self.id, # noqa ) @classmethod @@ -117,7 +117,7 @@ def all(cls, *args, **kwargs): return cls.filter(*args, **kwargs) @classmethod - def get(cls, id, es=None, **kwargs): + def get(cls, id, es=None, **kwargs): # noqa """ A get query returning a single document by _id or _uid