'set an attribute value on the given instance and \'commit\' it.'

def set_committed_value(self, state, dict_, value):

    dict_[self.key] = value
    state._commit(dict_, [self.key])
    return value
