docs: def get_user(self, auth, username):
          """
          Returns a representing the user with username ``username``.
  
          :param auth.Authentication auth: authentication object, can be ``None``
          :param str username: username of user to get
          :return: the retrieved user
          :rtype: GogsUser
          :raises NetworkFailure: if there is an error communicating with the server
          :raises ApiFailure: if the request cannot be serviced
          """
          path = "/users/{}".format(username)
          response = self.get(path, auth=auth)
          return GogsUser.from_json(response.json())