File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ class HttpRequests:
9
9
def __init__ (self , config ):
10
10
self .config = config
11
11
self .headers = {
12
- 'X-Meili-Api-Key' : self .config .apikey ,
12
+ 'X-Meili-Api-Key' : self .config .api_key ,
13
13
'Content-Type' : 'application/json'
14
14
}
15
15
Original file line number Diff line number Diff line change @@ -23,16 +23,16 @@ class Paths():
23
23
accept_new_fields = 'accept-new-fields'
24
24
attributes_for_faceting = 'attributes-for-faceting'
25
25
26
- def __init__ (self , url , apikey = None ):
26
+ def __init__ (self , url , api_key = None ):
27
27
"""
28
28
Parameters
29
29
----------
30
30
url : str
31
31
The url to the MeiliSearch API (ex: http://localhost:7700)
32
- apikey : str
32
+ api_key : str
33
33
The optional API key to access MeiliSearch
34
34
"""
35
35
36
36
self .url = url
37
- self .apikey = apikey
37
+ self .api_key = api_key
38
38
self .paths = self .Paths ()
You can’t perform that action at this time.
0 commit comments