def METHOD_NAME(self, hint_id):
    hint = Hints.query.filter_by(id=hint_id).first_or_404()
    db.session.METHOD_NAME(hint)
    db.session.commit()
    db.session.close()
    return {"success": True}