def validate_property_name(self, constraint, property_name):
    desc = 'property name'
    _assert_condition(property_name, 'The property name is missing')
    _assert_string_not_too_long(property_name,
                                datastore_pbs.MAX_INDEXED_STRING_CHARS, desc)
    _assert_valid_utf8(property_name, desc)


    if not constraint.reserved_property_name_allowed:
      _assert_string_not_reserved(property_name, desc)
Validates a property name.
dataset/ETHPy150Open GoogleCloudPlatform/python-compat-runtime/appengine-compat/exported_appengine_sdk/google/appengine/datastore/cloud_datastore_validator.py/_EntityValidator.validate_property_name