def get_collection_summaries_matching_ids(collection_ids):
 return [(get_collection_summary_from_model(model) if model else None) for model in collection_models.CollectionSummaryModel.get_multi(collection_ids)]

def get_collection_summaries_matching_ids ( collection_ids ) : return [ ( get_collection_summary_from_model ( model ) if model else None ) for model in collection_models . CollectionSummaryModel . get_multi ( collection_ids ) ]
given a list of collection ids .