def StoreEntity(entity):
 clone = entity_pb.EntityProto()
 clone.CopyFrom(entity)
 PrepareSpecialPropertiesForStore(clone)
 return clone

def StoreEntity ( entity ) : clone = entity_pb . EntityProto ( ) clone . CopyFrom ( entity ) PrepareSpecialPropertiesForStore ( clone ) return clone
prepares an entity for storing .