original_docstring: 
      Update the given commit (identified by tid) in the log.
      :param db: The db session to update in.
      :param tid: The transaction id for this transaction.
      :param ttype: The type of commit to be performed. {user, page}
      :param status: The current running status of the commit.
      :param name: The name of the page/user being committed.
      :param content: The content of the page being committed. "" for user.
      :param admin: The admin rights of the user being committed. None for page.
      :return: None
      
docstring: Update the given commit (identified by tid) in the log.
docstring_tokens: Update the given commit ( identified by tid ) in the log .
code: def update_in_log(db: Session, tid: int, ttype: str, status: str, name: str, content: str = '', admin: bool = False):
      """
      Update the given commit (identified by tid) in the log.
      :param db: The db session to update in.
      :param tid: The transaction id for this transaction.
      :param ttype: The type of commit to be performed. {user, page}
      :param status: The current running status of the commit.
      :param name: The name of the page/user being committed.
      :param content: The content of the page being committed. "" for user.
      :param admin: The admin rights of the user being committed. None for page.
      :return: None
      """
      db.query(models.Log) \
          .filter(models.Log.tid == tid) \
          .update({models.Log.status: status, models.Log.name: name, models.Log.content: content,
                   models.Log.admin: admin}, synchronize_session=False)
      db.commit()
code_tokens: def update_in_log ( db : Session , tid : int , ttype : str , status : str , name : str , content : str = '' , admin : bool = False ) : db . query ( models . Log ) . filter ( models . Log . tid == tid ) . update ( { models . Log . status : status , models . Log . name : name , models . Log . content : content , models . Log . admin : admin } , synchronize_session = False ) db . commit ( )
short_docstring: Update the given commit (identified by tid) in the log.
short_docstring_tokens: Update the given commit ( identified by tid ) in the log .
comment: """
      Update the given commit (identified by tid) in the log.
      :param db: The db session to update in.
      :param tid: The transaction id for this transaction.
      :param ttype: The type of commit to be performed. {user, page}
      :param status: The current running status of the commit.
      :param name: The name of the page/user being committed.
      :param content: The content of the page being committed. "" for user.
      :param admin: The admin rights of the user being committed. None for page.
      :return: None
      """