Skip to content

Commit 5989a56

Browse files
linters
1 parent 41ade0a commit 5989a56

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

redis/commands/search/commands.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -404,9 +404,7 @@ def add_document_hash(self, doc_id, score=1.0, language=None, replace=False):
404404
doc_id, conn=None, score=score, language=language, replace=replace
405405
)
406406

407-
@deprecated_function(
408-
version="2.0.0", reason="deprecated since redisearch 2.0"
409-
)
407+
@deprecated_function(version="2.0.0", reason="deprecated since redisearch 2.0")
410408
def delete_document(self, doc_id, conn=None, delete_actual_document=False):
411409
"""
412410
Delete a document from index
@@ -441,9 +439,7 @@ def load_document(self, id):
441439

442440
return Document(id=id, **fields)
443441

444-
@deprecated_function(
445-
version="2.0.0", reason="deprecated since redisearch 2.0"
446-
)
442+
@deprecated_function(version="2.0.0", reason="deprecated since redisearch 2.0")
447443
def get(self, *ids):
448444
"""
449445
Returns the full contents of multiple documents.

0 commit comments

Comments
 (0)