google.appengine.api.datastore_types.PropertyValueToKeyValue

Converts an entity_pb2.PropertyValue into a comparable hashable key value.

The values produces by this function mimic the native ordering of the datastore and uniquely identify the given PropertyValue.

prop_value The entity_pb2.PropertyValue from which to construct the key value.

A comparable and hashable representation of the given property value.