@gen.engine
  def Transform(self, client, user_post, callback):
    from user_post import UserPost
    if UserPost.REMOVED in user_post.labels:
      labels = user_post.labels.combine()
      labels.remove(UserPost.REMOVED)
      labels.add(UserPost.HIDDEN)
      user_post.labels = labels
      self._LogUpdate(user_post)
      if Version._mutate_items:
        yield gen.Task(user_post.Update, client)

    callback(user_post)
dataset/ETHPy150Open viewfinderco/viewfinder/backend/db/versions.py/RenameUserPostRemoved.Transform/original