code: def post_update(self, post_id, tag_string=None, rating=None, source=None,
                      parent_id=None, has_embedded_notes=None,
                      is_rating_locked=None, is_note_locked=None,
                      is_status_locked=None):
          
          params = {
              'post[tag_string]': tag_string,
              'post[rating]': rating,
              'ost[source]': source,
              'post[parent_id]': parent_id,
              'post[has_embedded_notes]': has_embedded_notes,
              'post[is_rating_locked]': is_rating_locked,
              'post[is_note_locked]': is_note_locked,
              'post[is_status_locked]': is_status_locked
              }
          return self._get('posts/{0}.json'.format(post_id), params, 'PUT',
                           auth=True)
docs: Update a specific post (Requires login).
  
          Parameters:
              post_id (int): The id number of the post to update.
              tag_string (str): A space delimited list of tags.
              rating (str): The rating for the post. Can be: safe, questionable,
                            or explicit.
              source (str): If this is a URL, Danbooru will download the file.
              parent_id (int): The ID of the parent post.
              has_embedded_notes (int): Can be 1, 0.
              is_rating_locked (int): Can be: 0, 1 (Builder+ only).
              is_note_locked (int): Can be: 0, 1 (Builder+ only).
              is_status_locked (int): Can be: 0, 1 (Admin only).