parameters: (self, entry, auth_token=None, force=False, **kwargs)
return_statement: return self.request(method='PUT', uri=entry.find_edit_link(),
                          auth_token=auth_token, http_request=http_request,
                          desired_class=entry.__class__, **kwargs)
docstring: Edits the entry on the server by sending the XML for this entry.
  
      Performs a PUT and converts the response to a new entry object with a
      matching class to the entry passed in.
  
      Args:
        entry:
        auth_token:
        force: boolean stating whether an update should be forced. Defaults to
               False. Normally, if a change has been made since the passed in
               entry was obtained, the server will not overwrite the entry since
               the changes were based on an obsolete version of the entry.
               Setting force to True will cause the update to silently
               overwrite whatever version is present.
  
      Returns:
        A new Entry object of a matching type to the entry which was passed in.
docstring_summary: Edits the entry on the server by sending the XML for this entry.
docstring_tokens: Edits the entry on the server by sending the XML for this entry .
function: def update(self, entry, auth_token=None, force=False, **kwargs):
      """Edits the entry on the server by sending the XML for this entry.
  
      Performs a PUT and converts the response to a new entry object with a
      matching class to the entry passed in.
  
      Args:
        entry:
        auth_token:
        force: boolean stating whether an update should be forced. Defaults to
               False. Normally, if a change has been made since the passed in
               entry was obtained, the server will not overwrite the entry since
               the changes were based on an obsolete version of the entry.
               Setting force to True will cause the update to silently
               overwrite whatever version is present.
  
      Returns:
        A new Entry object of a matching type to the entry which was passed in.
      """
      http_request = atom.http_core.HttpRequest()
      http_request.add_body_part(
          entry.to_string(get_xml_version(self.api_version)),
          'application/atom+xml')
      # Include the ETag in the request if present.
      if force:
        http_request.headers['If-Match'] = '*'
      elif hasattr(entry, 'etag') and entry.etag:
        http_request.headers['If-Match'] = entry.etag
  
      return self.request(method='PUT', uri=entry.find_edit_link(),
                          auth_token=auth_token, http_request=http_request,
                          desired_class=entry.__class__, **kwargs)
function_tokens: def update ( self , entry , auth_token = None , force = False , * * kwargs ) : http_request = atom . http_core . HttpRequest ( ) http_request . add_body_part ( entry . to_string ( get_xml_version ( self . api_version ) ) , 'application/atom+xml' ) # Include the ETag in the request if present. if force : http_request . headers [ 'If-Match' ] = '*' elif hasattr ( entry , 'etag' ) and entry . etag : http_request . headers [ 'If-Match' ] = entry . etag return self . request ( method = 'PUT' , uri = entry . find_edit_link ( ) , auth_token = auth_token , http_request = http_request , desired_class = entry . __class__ , * * kwargs )