def METHOD_NAME(
    self, owner: str, repo: str, number: str
) -> Union[None, Dict[str, Union[str, int, bool]]]:
    # Gets the details of an issues or pull request
    try:
        r = requests.get(
            self.GITHUB_ISSUE_URL_TEMPLATE.format(owner=owner, repo=repo, id=number)
        )
    except requests.exceptions.RequestException as e:
        logging.exception(str(e))
        return None
    if r.status_code != requests.codes.ok:
        return None
    return r.json()