<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_property_dict(entity_proto):
 """Convert datastore.Entity to a dict of property name -> datastore.Value. Args: entity_proto: datastore.Entity proto message. Usage: {'foo': {string_value='a'}, 'bar': {integer_value=2}} Returns: dict of entity properties. """

  return dict((p.key, p.value) for p in entity_proto.property)