def get_suggestion(exploration_id, thread_id):
 model = feedback_models.SuggestionModel.get_by_exploration_and_thread_id(exploration_id, thread_id)
 return (_get_suggestion_from_model(model) if model else None)

def get_suggestion ( exploration_id , thread_id ) : model = feedback_models . SuggestionModel . get_by_exploration_and_thread_id ( exploration_id , thread_id ) return ( _get_suggestion_from_model ( model ) if model else None )
fetches the suggestion for the given thread .