code: def __update_rating(uid, rating):
          '''
          Update rating.
          '''
          entry = TabRating.update(
              rating=rating
          ).where(TabRating.uid == uid)
          entry.execute(f __update_rating(uid, rating):
          '''
          Update rating.
          '''
          entry = TabRating.update(
              rating=rating
          ).where(TabRating.uid == uid)
          entry.execute()
docs: Update rating.