

def _check_initialized(self):
    'Internal helper to check for uninitialized properties.\n\n    Raises:\n      BadValueError if it finds any.\n    '
    baddies = self._find_uninitialized()
    if baddies:
        raise datastore_errors.BadValueError(('Entity has uninitialized properties: %s' % ', '.join(baddies)))

dataset/ETHPy150Open GoogleCloudPlatform/datastore-ndb-python/ndb/model.py Model._check_initialized/original