def METHOD_NAME(
    self,
    from_currency: str = None,
    session: requests.Session = None,
    lightweight: bool = None,
) -> Union[dict, List[resources.CurrencyRate]]:
    """
    Returns a list of currency rates based on given currency
    :param str from_currency: The currency from which the rates are computed
    :param requests.session session: Requests session object
    :param bool lightweight: If True will return dict not a resource
    :rtype: list[resources.CurrencyRate]
    """
    params = clean_locals(locals())
    method = "%s%s" % (self.URI, "listCurrencyRates")
    (response, response_json, elapsed_time) = self.request(method, params, session)
    return self.process_response(
        response_json, resources.CurrencyRate, elapsed_time, lightweight
    )