human
I wrote the below code

    assert options.options.user_id, 'must    specify    a    user    id    (--user_id)'
    assert options.options.viewpoint_id, 'must    specify    a    viewpoint    id    (--viewpoint_id)'
    client = DBClient.Instance()
    def _OnService(response_dict):
        logging.info(('result:    %s' % util.ToCanonicalJSON(response_dict, indent=2)))
        callback()
    def _OnNotification(n, cb):
        if (n.viewpoint_id == options.options.viewpoint_id):
            n.name = 'clear_badges'
            n.sender_id = 494
            n.sender_device_id = 2260
            n.invalidate = None
            n.op_id = None
            n.viewpoint_id = None
            n.update_seq = None
            n.viewed_seq = None
            n.activity_id = None
            n.badge = 0
            print ('resetting    notification    to    clear_badges:    %s' % n)
            n.Update(client, cb)
        else:
            cb()
    def _DoneQueryFollowed():
        Notification.VisitRange(client, options.options.user_id, None, None, _OnNotification, callback)
    def _OnQueryFollowed(f, cb):
        if (f.viewpoint_id == options.options.viewpoint_id):
            print ('deleting:    %s' % f)
            f.Delete(client, cb)
        else:
            cb()
    def _OnDeleteFollower():
        Followed.VisitRange(client, options.options.user_id, None, None, _OnQueryFollowed, _DoneQueryFollowed)
    def _OnQueryFollower(f):
        if f:
            print ('deleting:    %s' % f)
            f.Delete(client, _OnDeleteFollower)
        else:
            _OnDeleteFollower()
    Follower.Query(client, options.options.user_id, options.options.viewpoint_id, None, _OnQueryFollower, must_exist=False)

What's a good function header?

=====
Give me a Python code to print ('resetting    notification    to    clear_badges:    %s' % n)?
assistant
#Here is Python code to print ('resetting    notification    to    clear_badges:    %s' % n)
.

def _RunService(callback):