def _MakeViewpointMetadataDict(viewpoint, follower, obj_store):
 metadata_dict = viewpoint.MakeMetadataDict(follower)
 if ('cover_photo' in metadata_dict):
  _AddPhotoUrls(obj_store, metadata_dict['cover_photo'])
 return metadata_dict

def _MakeViewpointMetadataDict ( viewpoint , follower , obj_store ) : metadata_dict = viewpoint . MakeMetadataDict ( follower ) if ( 'cover_photo' in metadata_dict ) : _AddPhotoUrls ( obj_store , metadata_dict [ 'cover_photo' ] ) return metadata_dict
returns a viewpoint metadata dictionary appropriate for a service query response .