def _get_suggestion_from_model(suggestion_model):
 return feedback_domain.Suggestion(suggestion_model.id, suggestion_model.author_id, suggestion_model.exploration_id, suggestion_model.exploration_version, suggestion_model.state_name, suggestion_model.description, suggestion_model.state_content)

def _get_suggestion_from_model ( suggestion_model ) : return feedback_domain . Suggestion ( suggestion_model . id , suggestion_model . author_id , suggestion_model . exploration_id , suggestion_model . exploration_version , suggestion_model . state_name , suggestion_model . description , suggestion_model . state_content )
converts the given suggestionmodel to a suggestion object .