def validate_property(self, constraint, prop):
    self.validate_property_name(constraint, prop.key)
    _assert_condition(prop.HasField('value'),
                      'Property "%s" has no value.' % prop.key)
    self.validate_value(constraint, prop.value)
Validates a property.
dataset/ETHPy150Open GoogleCloudPlatform/python-compat-runtime/appengine-compat/exported_appengine_sdk/google/appengine/datastore/cloud_datastore_validator.py/_EntityValidator.validate_property