Converts a key into a comparable hashable key
value.
View aliases
Main aliases
`google.appengine.api.datastore.datastore_types.ReferenceToKeyValue`
google.appengine.api.datastore_types.ReferenceToKeyValue(
key, id_resolver=None
)
Args |
key
|
The entity_pb2.Reference or googledatastore.Key from which to
construct the key value.
|
id_resolver
|
An optional datastore_pbs.IdResolver . Only necessary for
googledatastore.Key values.
|
Returns |
A comparable and hashable representation of the given key that is
compatible with one derived from a key property value.
|