async def fetch_data(self) -> (GitHubReleaseModel | None):
    'Get the latest data from GitHub.'
    result = (await self._client.repos.releases.list(self.repository, **{'params': {'per_page': 1}}))
    if (not result.data):
        return None
    for release in result.data:
        if (not release.prerelease):
            return release
    return result.data[0]
Get the latest data from GitHub.
async def fetch_data(self) -> (GitHubReleaseModel | None):
    
    result = (await self._client.repos.releases.list(self.repository, **{'params': {'per_page': 1}}))
    if (not result.data):
        return None
    for release in result.data:
        if (not release.prerelease):
            return release
    return result.data[0]