def get_exploration_summary_by_id(exploration_id):
 exp_summary_model = exp_models.ExpSummaryModel.get(exploration_id)
 if exp_summary_model:
  exp_summary = get_exploration_summary_from_model(exp_summary_model)
  return exp_summary
 else:
  return None

def get_exploration_summary_by_id ( exploration_id ) : exp_summary_model = exp_models . ExpSummaryModel . get ( exploration_id ) if exp_summary_model : exp_summary = get_exploration_summary_from_model ( exp_summary_model ) return exp_summary else : return None
returns a domain object representing an exploration summary .