docs: def get_repo(self, auth, username, repo_name):
          """
          Returns a the repository with name ``repo_name`` owned by
          the user with username ``username``.
  
          :param auth.Authentication auth: authentication object
          :param str username: username of owner of repository
          :param str repo_name: name of repository
          :return: a representation of the retrieved repository
          :rtype: GogsRepo
          :raises NetworkFailure: if there is an error communicating with the server
          :raises ApiFailure: if the request cannot be serviced
          """
          path = "/repos/{u}/{r}".format(u=username, r=repo_name)
          response = self.get(path, auth=auth)
          return GogsRepo.from_json(response.json())