def set_on_event(new_value, traverser):

    if (isinstance(new_value, jstypes.JSLiteral) and
        isinstance(new_value.get_literal_value(traverser), types.StringTypes)):
        warn(traverser.err,
             filename=traverser.filename,
             line=traverser.line,
             column=traverser.position,
             context=traverser.context,
             violation_type="setting_on-event")
Updates the seq_no and the seq_no_partial, based on the seq_no in
dataset/ETHPy150Open mozilla/app-validator/appvalidator/testcases/javascript/instanceproperties.py/set_on_event--crossover with--dataset/ETHPy150Open Doist/todoist-python/todoist/api.py/TodoistAPI._update_seq_no