Notice: Over the next few months, we're reorganizing the App Engine documentation site to make it easier to find content and better align with the rest of Google Cloud products. The same content will be available, but the navigation will now match the rest of the Cloud products.

Python 3.10 is now available in preview.


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.