def METHOD_NAME(self, query: List[str], options: Values) -> List[Dict[str, str]]:
    index_url = options.index
    session = self.get_default_session(options)
    transport = PipXmlrpcTransport(index_url, session)
    pypi = xmlrpc.client.ServerProxy(index_url, transport)
    try:
        hits = pypi.METHOD_NAME({"name": query, "summary": query}, "or")
    except xmlrpc.client.Fault as fault:
        message = "XMLRPC request failed [code: {code}]\n{string}".format(
            code=fault.faultCode,
            string=fault.faultString,
        )
        raise CommandError(message)
    assert isinstance(hits, list)
    return hits