Skip to content

Commit d079862

Browse files
committed
Remove changes about get_indexes from this PR
1 parent fb8c217 commit d079862

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

meilisearch/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def get_indexes(self):
6060
list
6161
List of indexes in dictionnary format. (e.g [{ 'uid': 'movies' 'primaryKey': 'objectID' }])
6262
"""
63-
return Index.list_all(self.config)
63+
return Index.get_indexes(self.config)
6464

6565
def get_index(self, uid):
6666
"""Get the index.

meilisearch/index.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,13 +114,13 @@ def create(config, uid, options=None):
114114
return HttpRequests(config).post(config.paths.index, payload)
115115

116116
@staticmethod
117-
def list_all(config):
118-
"""Get all indexes.
117+
def get_indexes(config):
118+
"""Get all indexes from meilisearch.
119119
120120
Returns
121121
-------
122122
indexes : list
123-
List of the indexes. Each index is a dictionary.
123+
List of indexes (dict)
124124
Raises
125125
------
126126
HTTPError

0 commit comments

Comments
 (0)