Skip to content

Commit b3219e7

Browse files
authored
Merge branch 'main' into api-error
2 parents 76a5b8c + 2a2a757 commit b3219e7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

meilisearch/client.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,17 @@ class Client():
1414
"""
1515

1616
def __init__(
17-
self, url: str, apiKey: Optional[str] = None, timeout: Optional[int] = None
17+
self, url: str, api_key: Optional[str] = None, timeout: Optional[int] = None
1818
) -> None:
1919
"""
2020
Parameters
2121
----------
2222
url:
2323
The url to the MeiliSearch API (ex: http://localhost:7700)
24-
apiKey:
24+
api_key:
2525
The optional API key for MeiliSearch
2626
"""
27-
self.config = Config(url, apiKey, timeout=timeout)
27+
self.config = Config(url, api_key, timeout=timeout)
2828

2929
self.http = HttpRequests(self.config)
3030

0 commit comments

Comments
 (0)