def save_exploration_summary(exp_summary):
 exp_summary_model = exp_models.ExpSummaryModel(id=exp_summary.id, title=exp_summary.title, category=exp_summary.category, objective=exp_summary.objective, language_code=exp_summary.language_code, tags=exp_summary.tags, ratings=exp_summary.ratings, scaled_average_rating=exp_summary.scaled_average_rating, status=exp_summary.status, community_owned=exp_summary.community_owned, owner_ids=exp_summary.owner_ids, editor_ids=exp_summary.editor_ids, viewer_ids=exp_summary.viewer_ids, contributor_ids=exp_summary.contributor_ids, contributors_summary=exp_summary.contributors_summary, version=exp_summary.version, exploration_model_last_updated=exp_summary.exploration_model_last_updated, exploration_model_created_on=exp_summary.exploration_model_created_on, first_published_msec=exp_summary.first_published_msec)
 exp_summary_model.put()

def save_exploration_summary ( exp_summary ) : exp_summary_model = exp_models . ExpSummaryModel ( id = exp_summary . id , title = exp_summary . title , category = exp_summary . category , objective = exp_summary . objective , language_code = exp_summary . language_code , tags = exp_summary . tags , ratings = exp_summary . ratings , scaled_average_rating = exp_summary . scaled_average_rating , status = exp_summary . status , community_owned = exp_summary . community_owned , owner_ids = exp_summary . owner_ids , editor_ids = exp_summary . editor_ids , viewer_ids = exp_summary . viewer_ids , contributor_ids = exp_summary . contributor_ids , contributors_summary = exp_summary . contributors_summary , version = exp_summary . version , exploration_model_last_updated = exp_summary . exploration_model_last_updated , exploration_model_created_on = exp_summary . exploration_model_created_on , first_published_msec = exp_summary . first_published_msec ) exp_summary_model . put ( )
save an exploration summary domain object as an expsummarymodel entity in the datastore .