def __init__(self, url, apiKey=None): """ Parameters ---------- url : str The url to the MeiliSearch API (ex: http://localhost:7700) apiKey : str The optional API key for MeiliSearch """ self.config = Config(url, apiKey) self.http = HttpRequests(self.config)
def __init__(self, url, apiKey=None): """ Parameters ---------- url : str The url to the MeiliSearch API (ex: http://localhost:7700) apiKey : str The optional API key for MeiliSearch """ config = Config(url, apiKey) Health.__init__(self, config) Key.__init__(self, config) SysInfo.__init__(self, config) Version.__init__(self, config) self.config = config
def __init__(self, url, apikey=None): """ Parameters ---------- url : str The url to the meilisearch API (ex: http://localhost:8080) apikey : str The optionnal apikey to access the meilisearch api """ config = Config(url, apikey) Health.__init__(self, config) Key.__init__(self, config) SysInfo.__init__(self, config) Version.__init__(self, config) self.config = config