Skip to content

Commit ae6528a

Browse files
eskombrocurquiza
andauthored
Review Curquiza
Co-authored-by: Clémentine Urquizar <[email protected]>
1 parent cde288e commit ae6528a

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

meilisearch/client.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def get_index(self, uid):
8484
def get_all_stats(self):
8585
"""Get all stats of MeiliSearch
8686
87-
Get information about databasesize and all indexes
87+
Get information about database size and all indexes
8888
https://docs.meilisearch.com/references/stats.html
8989
Returns
9090
----------
@@ -94,26 +94,26 @@ def get_all_stats(self):
9494
return self.http.get(self.config.paths.stat)
9595

9696
def health(self):
97-
"""Get health of meilisearch
97+
"""Get health of MeiliSearch
9898
99-
`204` http status response when meilisearch is healthy.
99+
`204` HTTP status response when MeiliSearch is healthy.
100100
101101
Raises
102102
----------
103103
HTTPError
104-
If meilisearch is not healthy
104+
If MeiliSearch is not healthy
105105
"""
106106
return self.http.get(self.config.paths.health)
107107

108108
def update_health(self, health):
109109
"""Update health of meilisearch
110110
111-
Update health of meilisearch to true or false.
111+
Update health of MeiliSearch to true or false.
112112
113113
Parameters
114114
----------
115115
health: bool
116-
Boolean reprensenting the healthyness of meilisearch. True for healthy.
116+
Boolean representing the health status of MeiliSearch. True for healthy.
117117
"""
118118
return self.http.put(self.config.paths.health, {'health': health})
119119

@@ -131,7 +131,7 @@ def get_keys(self):
131131
return self.http.get(self.config.paths.keys)
132132

133133
def get_sys_info(self):
134-
"""Get system information of meilisearch
134+
"""Get system information of MeiliSearch
135135
136136
Get information about memory usage and processor usage.
137137
@@ -143,12 +143,12 @@ def get_sys_info(self):
143143
return self.http.get(self.config.paths.sys_info)
144144

145145
def get_version(self):
146-
"""Get version meilisearch
146+
"""Get version MeiliSearch
147147
148148
Returns
149149
----------
150150
version: dict
151-
Information about version of meilisearch.
151+
Information about the version of MeiliSearch.
152152
"""
153153
return self.http.get(self.config.paths.version)
154154

@@ -158,6 +158,6 @@ def version(self):
158158
Returns
159159
----------
160160
version: dict
161-
Information about version of meilisearch.
161+
Information about the version of MeiliSearch.
162162
"""
163163
return self.get_version()

0 commit comments

Comments
 (0)