#NEWLINE# @ classmethod #NEWLINE# def get_most_recent_message( cls , exploration_id , thread_id ) : #NEWLINE# #INDENT# full_thread_id = FeedbackThreadModel . generate_full_thread_id ( exploration_id , exploration_id ) #NEWLINE# return cls . get_all ( ) . filter ( ( cls . thread_id == full_thread_id ) ) . order ( ( - cls . last_updated ) ) . get ( )