def METHOD_NAME(
    self, url: str, retrieve_events: bool, params: dict = None
) -> tuple[list[IssueDict], dict]:
    self.api_limit()
    headers = {"Authorization": "token {}".format(self.get_token())}
    response = get_session("github").get(url, params=params, headers=headers)
    response.raise_for_status()
    data = response.json()
    # If only one issue is requested, add it to a list
    if isinstance(data, dict):
        data = [data]
    logger.info("Fetching %s", url)
    if retrieve_events:
        for item in data:
            events = self.fetch_events(item["events_url"])
            item.update({"events": events})
    return data, response.links