@@ -13,144 +13,6 @@ class Index():
13
13
config = None
14
14
uid = ""
15
15
16
- class Update :
17
- """
18
- Update routes wrapper
19
-
20
- Index's parent that gives access to all the update methods of MeiliSearch.
21
- https://docs.meilisearch.com/references/updates.html#get-an-update-status
22
-
23
- """
24
-
25
-
26
- def __init__ (self , parent_path , config , uid = None , name = None ):
27
- """
28
- Parameters
29
- ----------
30
- config : Config
31
- Config object containing permission and location of MeiliSearch
32
- name: str
33
- Name of the index on which to perform the index actions.
34
- uid: str
35
- Uid of the index on which to perform the index actions.
36
- index_path: str
37
- Index url path
38
- """
39
- self .config = config
40
- self .name = name
41
- self .uid = uid
42
- self .config .paths .index = parent_path
43
-
44
- class Stat :
45
- """
46
- Stats routes wrapper
47
-
48
- Index's parent that gives access to all the stats methods of MeiliSearch.
49
- https://docs.meilisearch.com/references/stats.html#get-stat-of-an-index
50
-
51
- """
52
-
53
-
54
- def __init__ (self , parent_path , config , uid = None , name = None ):
55
- """
56
- Parameters
57
- ----------
58
- config : Config
59
- Config object containing permission and location of MeiliSearch
60
- name: str
61
- Name of the index on which to perform the index actions.
62
- uid: str
63
- Uid of the index on which to perform the index actions.
64
- index_path: str
65
- Index url path
66
- """
67
- self .config = config
68
- self .name = name
69
- self .uid = uid
70
- self .config .paths .index = parent_path
71
-
72
- class Search :
73
- """
74
- Search routes wrapper
75
-
76
- Index's parent that gives access to all the search methods of meilisearch.
77
- https://docs.meilisearch.com/references/search.html#search-in-an-index
78
-
79
- """
80
-
81
- def __init__ (self , parent_path , config , uid = None , name = None ):
82
- """
83
- Parameters
84
- ----------
85
- config : Config
86
- Config object containing permission and location of meilisearch
87
- name: str
88
- Name of the index on which to perform the index actions.
89
- uid: str
90
- Uid of the index on which to perform the index actions.
91
- index_path: str
92
- Index url path
93
- """
94
- self .config = config
95
- self .name = name
96
- self .uid = uid
97
- self .config .paths .index = parent_path
98
-
99
- class Document :
100
- """
101
- Documents routes wrapper
102
-
103
- Index's parent that gives access to all the documents methods of MeiliSearch.
104
- https://docs.meilisearch.com/references/documents.html
105
-
106
- """
107
-
108
-
109
- def __init__ (self , parent_path , config , uid = None , name = None ):
110
- """
111
- Parameters
112
- ----------
113
- config : Config
114
- Config object containing permission and location of MeiliSearch
115
- name: str
116
- Name of the index on which to perform the document actions.
117
- uid: str
118
- Uid of the index on which to perform the document actions.
119
- index_path: str
120
- Index url path
121
- """
122
- self .config = config
123
- self .name = name
124
- self .uid = uid
125
- self .config .paths .index = parent_path
126
-
127
- class Setting :
128
- """
129
- Settings routes wrapper
130
-
131
- Index's parent that gives access to all the settings methods of meilisearch.
132
- https://docs.meilisearch.com/references/settings.html
133
-
134
- """
135
-
136
- def __init__ (self , parent_path , config , uid = None , name = None ):
137
- """
138
- Parameters
139
- ----------
140
- config : Config
141
- Config object containing permission and location of meilisearch
142
- name: str
143
- Name of the index on which to perform the actions.
144
- uid: str
145
- Uid of the index on which to perform the actions.
146
- index_path: str
147
- Index url path
148
- """
149
- self .config = config
150
- self .name = name
151
- self .uid = uid
152
- self .config .paths .index = parent_path
153
-
154
16
def __init__ (self , config , uid ):
155
17
"""
156
18
Parameters
0 commit comments