def _assert_condition(condition, message):
  if not condition:
    raise ValidationError(message)
Asserts a validation condition and raises an error if it's not met.
dataset/ETHPy150Open GoogleCloudPlatform/python-compat-runtime/appengine-compat/exported_appengine_sdk/google/appengine/datastore/cloud_datastore_validator.py/_assert_condition