parameters: (sheet_id, uid)
docstring: Records the publications of a new Source Sheet.
docstring_summary: Records the publications of a new Source Sheet.
docstring_tokens: Records the publications of a new Source Sheet .
function: def record_sheet_publication(sheet_id, uid):
      """
      Records the publications of a new Source Sheet.
      """
      log = {
          "user": uid,
          "sheet": sheet_id,
          "date": datetime.now(),
          "rev_type": "publish sheet",
      }
      db.history.save(log)
function_tokens: def record_sheet_publication ( sheet_id , uid ) : log = { "user" : uid , "sheet" : sheet_id , "date" : datetime . now ( ) , "rev_type" : "publish sheet" , } db . history . save ( log )