Skip to content

Commit d8312e4

Browse files
committed
Docstring formatting
1 parent e9bc900 commit d8312e4

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

elasticsearch/client/__init__.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,9 @@ def _bulk_body(self, body):
142142

143143
@query_params()
144144
def ping(self, params=None):
145-
""" Returns True if the cluster is up, False otherwise. """
145+
"""
146+
Returns True if the cluster is up, False otherwise.
147+
"""
146148
try:
147149
self.transport.perform_request('HEAD', '/', params=params)
148150
except TransportError:
@@ -151,7 +153,9 @@ def ping(self, params=None):
151153

152154
@query_params()
153155
def info(self, params=None):
154-
""" Get the basic info from the current cluster. """
156+
"""
157+
Get the basic info from the current cluster.
158+
"""
155159
_, data = self.transport.perform_request('GET', '/', params=params)
156160
return data
157161

0 commit comments

Comments
 (0)