google.appengine.api.datastore_types.FromReferenceProperty

Converts a reference PropertyValue to a Key.

value entity_pb2.PropertyValue

Key

BadValueError if the value is not a PropertyValue.