Skip to content

Commit

Permalink
added noqa
Browse files Browse the repository at this point in the history
  • Loading branch information
rochacbruno committed Dec 14, 2015
1 parent e1d867a commit fa38153
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions esengine/document.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'):
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit fa38153

Please sign in to comment.