def METHOD_NAME(self):
    if self._access_token:
        self._gh = github.Github(
            base_url=self._url, login_or_token=self._access_token
        )
    else:
        raise argparse.ArgumentError(
            None, "Access token required for github enterprise authentication."
        )