Skip to content

Commit 83a26ec

Browse files
d9pouceshonzakral
authored andcommitted
fix python 3.5/6 warnings: [...]/elasticsearch/client/__init__.py:884: DeprecationWarning: invalid escape sequence \_ (elastic#665)
https://bugs.python.org/issue27364
1 parent 8c13060 commit 83a26ec

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

elasticsearch/client/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -574,7 +574,7 @@ def search(self, index=None, doc_type=None, body=None, params=None):
574574
choices are: 'open', 'closed', 'none', 'all'
575575
:arg explain: Specify whether to return detailed information about score
576576
computation as part of a hit
577-
:arg from\_: Starting offset (default: 0)
577+
:arg from\\_: Starting offset (default: 0)
578578
:arg ignore_unavailable: Whether specified concrete indices should be
579579
ignored when unavailable (missing or closed)
580580
:arg lenient: Specify whether format-based query failures (such as
@@ -674,7 +674,7 @@ def update_by_query(self, index, doc_type=None, body=None, params=None):
674674
:arg expand_wildcards: Whether to expand wildcard expression to concrete
675675
indices that are open, closed or both., default 'open', valid
676676
choices are: 'open', 'closed', 'none', 'all'
677-
:arg from\_: Starting offset (default: 0)
677+
:arg from\\_: Starting offset (default: 0)
678678
:arg ignore_unavailable: Whether specified concrete indices should be
679679
ignored when unavailable (missing or closed)
680680
:arg lenient: Specify whether format-based query failures (such as
@@ -810,7 +810,7 @@ def delete_by_query(self, index, body, doc_type=None, params=None):
810810
:arg expand_wildcards: Whether to expand wildcard expression to concrete
811811
indices that are open, closed or both., default 'open', valid
812812
choices are: 'open', 'closed', 'none', 'all'
813-
:arg from\_: Starting offset (default: 0)
813+
:arg from\\_: Starting offset (default: 0)
814814
:arg ignore_unavailable: Whether specified concrete indices should be
815815
ignored when unavailable (missing or closed)
816816
:arg lenient: Specify whether format-based query failures (such as

0 commit comments

Comments
 (0)