def get_collection_summary_by_id(collection_id):
 collection_summary_model = collection_models.CollectionSummaryModel.get(collection_id)
 if collection_summary_model:
  collection_summary = get_collection_summary_from_model(collection_summary_model)
  return collection_summary
 else:
  return None

def get_collection_summary_by_id ( collection_id ) : collection_summary_model = collection_models . CollectionSummaryModel . get ( collection_id ) if collection_summary_model : collection_summary = get_collection_summary_from_model ( collection_summary_model ) return collection_summary else : return None
returns a domain object representing a collection summary .