def METHOD_NAME(self, version: str) -> Release:
    """Get a release by version tag string.
    Args:
        version: Release version tag (e.g., "v1.0.9")
    Returns:
        The `Release` object with the associated version number.
    """
    if not self.checked:
        self.check_for_releases()
    for rls in self.releases:
        if rls.version == version:
            return rls
    raise ValueError(
        f"Release version was not found: {version}. "
        "Check the page online for a full listing: "
        f"https://github.com/{self.repo_id}"
    )