def set_recommendations(exp_id, new_recommendations):
 recommendations_models.ExplorationRecommendationsModel(id=exp_id, recommended_exploration_ids=new_recommendations).put()

def set_recommendations ( exp_id , new_recommendations ) : recommendations_models . ExplorationRecommendationsModel ( id = exp_id , recommended_exploration_ids = new_recommendations ) . put ( )
stores a list of exploration ids of recommended explorations to play after completing the exploration keyed by exp_id .