Skip to content
Snippets Groups Projects
Commit 46ca26089efb authored by Samuel Trégouët's avatar Samuel Trégouët
Browse files

[hook] delete_doc is a staticmethod => remove `self` argument

parent 1c4e7b35e611
No related branches found
No related tags found
No related merge requests found
......@@ -66,7 +66,7 @@
class IndexEsOperation(hook.DataOperationMixIn, hook.Operation):
@staticmethod
def delete_doc(self, es, **kwargs):
def delete_doc(es, **kwargs):
try:
# TODO option for async ?
es.delete(**kwargs)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment