'Get the latest release.
Draft releases and prereleases are not returned by this endpoint.
:returns: :class:`Release <github3.repos.release.Release>`'

def latest_release(self):

    url = self._build_url(u'releases', u'latest', base_url=self._api)
    json = self._json(self._get(url), 200)
    return self._instance_or_null(Release, json)
