'Stop accidentally replacing the db object
Args:
value (any): A value to store in the ndb.'

def ndb_set(self, value):

    string = 'Cannot    assign    directly    to    ndb    object!    '
    string += 'Use    ndb.attr=value    instead.'
    raise Exception(string)
