

def _validate(self, value):
    if (not isinstance(value, (int, long))):
        raise datastore_errors.BadValueError(('Expected integer, got %r' % (value,)))
    return int(self)

dataset/ETHPy150Open GoogleCloudPlatform/datastore-ndb-python/ndb/model.py IntegerProperty._validate/VarMisuse@48/64 `value`->`self`